Documentation ¶
Index ¶
- func FactoryFor(enc kithttp.EncodeRequestFunc, dec kithttp.DecodeResponseFunc, path string) sd.Factory
- func NewConsulClient(consulIP string, consulPort int) consulsd.Client
- func NewEp(consulClient consulsd.Client, logger log.Logger, svcName string, ...) endpoint.Endpoint
- func NewLogger() (logger log.Logger)
- type Cataloger
- type Registrar
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactoryFor ¶
func FactoryFor(enc kithttp.EncodeRequestFunc, dec kithttp.DecodeResponseFunc, path string) sd.Factory
factor: url -> endpoint instance: ip:port path: /search
Types ¶
Click to show internal directories.
Click to hide internal directories.