Documentation ¶
Index ¶
- Constants
- func AppendHeader() middleware.Middleware
- func AutoResolver(service string, opts ...Options) string
- func GetEndPoint(selector Selector, service string) string
- func NewClientConnection(r registry.Discovery, logger log.Logger, endpoint string) grpc2.ClientConnInterface
- func Resolver(conf map[string]string, service string) string
- type Option
- type Options
- type Selector
Constants ¶
View Source
const ( DiscoverySchema = "discovery:///" DefaultServiceTpl = "app.%s.service.grpc" )
Variables ¶
This section is empty.
Functions ¶
func AppendHeader ¶
func AppendHeader() middleware.Middleware
func AutoResolver ¶
func GetEndPoint ¶
func NewClientConnection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.