Versions in this module Expand all Collapse all v1 v1.18.2 Oct 16, 2020 Changes in this version + func Encode(e *Endpoint) map[string]string + func Validate(e *Endpoint) error + func WithEndpoint(e *Endpoint) server.HandlerOption + type Api interface + Deregister func(*Endpoint) error + Init func(...Option) error + Options func() Options + Register func(*Endpoint) error + String func() string + type Endpoint struct + Body string + Description string + Handler string + Host []string + Method []string + Name string + Path []string + Stream bool + func Decode(e map[string]string) *Endpoint + type Option func(*Options) error + type Options struct + type Service struct + Endpoint *Endpoint + Name string + Services []*registry.Service