package
0.0.0-20210304063537-dd22d64e2b96
Repository: https://github.com/luids-io/api.git
Documentation: pkg.go.dev

# Functions

ClientBuilder returns builder function.
CloseConnection option closes grpc connection on close.
NewClient returns a new Client.
NewService returns a new Service.
RegisterServer registers a service in the grpc server.
ServiceName returns service name.
SetCache sets cache ttl and negative ttl.
SetCacheCleanUps sets interval between cache cleanups.
SetLogger option allows set a custom logger.
SetServiceLogger option allows set a custom logger.

# Constants

Constants for api description.
Constants for api description.
Constants for api description.

# Structs

Client provides a grpc client.
Service implements a grpc service wrapper.

# Type aliases

ClientOption encapsules options for client.
ServiceOption is used for service configuration.