Versions in this module Expand all Collapse all v0 v0.16.0 Dec 11, 2024 Changes in this version + var ErrSvcNotServing = errors.New("service is not serving") + type Config struct + BypassHealthCheck bool + ClientCert string + ClientKey string + ServerCAFile string + Timeout time.Duration + URL string + type Handler interface + Close func() error + Connection func() *grpc.ClientConn + Secure func() string + func NewHandler(cfg Config) (Handler, error) + func SetupChannelsClient(ctx context.Context, cfg Config) (grpcChannelsV1.ChannelsServiceClient, Handler, error) + func SetupClientsClient(ctx context.Context, cfg Config) (grpcClientsV1.ClientsServiceClient, Handler, error) + func SetupDomainsClient(ctx context.Context, cfg Config) (grpcDomainsV1.DomainsServiceClient, Handler, error) + func SetupGroupsClient(ctx context.Context, cfg Config) (grpcGroupsV1.GroupsServiceClient, Handler, error) + func SetupTokenClient(ctx context.Context, cfg Config) (grpcTokenV1.TokenServiceClient, Handler, error)