Documentation ¶
Index ¶
- Variables
- func NewGRPCConnWithResolver(ctx context.Context, client *consulapi.Client, serviceName string, ...) (*grpc.ClientConn, error)
- func NewResolver(client *consulapi.Client, serviceName string, logger *zap.Logger) (*manual.Resolver, error)
- func RunOnlineServiceDiscovery(ctx context.Context, client *consulapi.Client, nameResolver *manual.Resolver, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAliveServices = errors.New("no alive services")
Functions ¶
func NewGRPCConnWithResolver ¶
func NewResolver ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.