func (s *InClientImpl) UnloadDestinations(req *admin.UnloadDestinationsRequest) error {
	ctx, cancel := tcthrift.NewContext(defaultThriftTimeout)
	defer cancel()
	return s.client.UnloadDestinations(ctx, req)
}
UnloadDestinations unloads the destination from the inputhost
package inputhost
import (
	"fmt"
	"time"
	"github.com/uber/cherami-server/common"
	"github.com/uber/cherami-thrift/.generated/go/admin"
	tchannel "github.com/uber/tchannel-go"
	tcthrift "github.com/uber/tchannel-go/thrift"
)
const (
	defaultThriftTimeout = 10 * time.Second
)
type InClientImpl struct {
	connection *tchannel.Channel
	client     admin.TChanInputHostAdmin
}
func NewClient(instanceID int, hostAddr string) (*InClientImpl, error) {
	ch, err := tchannel.NewChannel(fmt.Sprintf("inputhost-client-%v", instanceID), nil)
	if err != nil {
		return nil, err
	}
	tClient := tcthrift.NewClient(ch, common.InputServiceName, &tcthrift.ClientOptions{
		HostPort: hostAddr,
	})
	client := admin.NewTChanInputHostAdminClient(tClient)
	return &InClientImpl{
		connection: ch,
		client:     client,
	}, nil
}
func (s *InClientImpl) Close() {
	s.connection.Close()
}