Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAuthorization ¶
func WithAuthorization(token string) runtime.ClientOption
func WithClientTraceOption ¶
func WithClientTraceOption(traceOption trace.StartOption) runtime.ClientOption
func WithHttpClient ¶
func WithHttpClient(client *http.Client) runtime.ClientOption
Types ¶
type ErrorMiddleware ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts ...ServerOption) *Server
type ServerOption ¶
type ServerOption func(server *Server)
func Debug ¶
func Debug(debug bool) ServerOption
func WithHttprouter ¶
func WithHttprouter(router *httprouter.Router) ServerOption
func WithLogrus ¶
func WithLogrus() ServerOption
func WithSentry ¶
func WithSentry(dsn string) ServerOption
func WithServerTraceOption ¶
func WithServerTraceOption(traceOption trace.StartOption) ServerOption
Click to show internal directories.
Click to hide internal directories.