Documentation ¶
Index ¶
- func New(ctx context.Context) server.Server
- type Handler
- type Opener
- type Server
- func (s *Server) As(i interface{}) bool
- func (s *Server) Endpoints() []string
- func (s *Server) Handle(h func() error)
- func (s *Server) ID() string
- func (s *Server) Metadata() map[string]string
- func (s *Server) Name() string
- func (s *Server) RawServe(*server.ServeOptions) (ii []registry.Item, er error)
- func (s *Server) RegisterHandler(h Handler)
- 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 ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterHandler ¶
func (*Server) SetMetadata ¶ added in v4.0.6
Click to show internal directories.
Click to hide internal directories.