Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthHandler ¶
type AuthHandler interface {
Auth(next http.HandlerFunc) http.HandlerFunc
}
type Config ¶
type Config struct {
URL string
Version string
*gateway.Config
Endpoint endpoint.Config
Info openapi3.Info
}
Config defines standalone app config
type Server ¶
func NewWithAuth ¶
func NewWithAuth(config *Config, auth AuthHandler) (*Server, error)
func NewWithURL ¶
NewWithURL create service with config URL
Click to show internal directories.
Click to hide internal directories.