func (*Conn) PingContext

func (c *Conn) PingContext(ctx context.Context) error

验证到数据库的连接是否仍然处于活动状态。