Documentation
¶
Index ¶
- func NewRegistrar(ctx context.Context, serverID string) routing.RouteRegistrar
- type Opener
- type Server
- func (s *Server) As(i interface{}) bool
- func (s *Server) Clone() interface{}
- func (s *Server) Endpoints() []string
- func (s *Server) ID() string
- func (s *Server) Metadata() map[string]string
- func (s *Server) Name() string
- func (s *Server) RawServe(opts *server.ServeOptions) (ii []registry.Item, e error)
- func (s *Server) SetMetadata(meta map[string]string)
- func (s *Server) Stop() error
- func (s *Server) Type() server.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistrar ¶
func NewRegistrar(ctx context.Context, serverID string) routing.RouteRegistrar
NewRegistrar creates a routing.RouteRegistrar wrapped with registry
Types ¶
Click to show internal directories.
Click to hide internal directories.