Documentation ¶
Index ¶
- func ErrorWriter() runtime.ErrorHandlerFunc
- type Server
- func (s *Server) Addr() string
- func (s *Server) BuildServer(tlsConfig *tls.Config) (err error)
- func (s *Server) Close() error
- func (s *Server) RegistryDesc(services ...transport.Service)
- func (s *Server) Router() chi.Router
- func (s *Server) Serve() error
- func (s *Server) UseMiddleware(middlewares ...func(http.Handler) http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorWriter ¶ added in v0.6.0
func ErrorWriter() runtime.ErrorHandlerFunc
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServerWithListener ¶ added in v0.7.0
func (*Server) BuildServer ¶ added in v0.2.0
func (*Server) RegistryDesc ¶
Click to show internal directories.
Click to hide internal directories.