Documentation ¶
Index ¶
Constants ¶
View Source
const (
AuthorizationHeader = "Authorization"
)
Variables ¶
This section is empty.
Functions ¶
func NewBasicAuthHandler ¶
func NewBasicAuthHandler() *basicAuthHandler
func NewHeadersHandler ¶
func NewHeadersHandler() *headersHandler
func NewQueryParamsHandler ¶
func NewQueryParamsHandler() *queryParamsHandler
Types ¶
type AppMockServer ¶
func NewAppMockServer ¶
func NewAppMockServer(port int32) *AppMockServer
func (*AppMockServer) Kill ¶
func (ams *AppMockServer) Kill() error
func (*AppMockServer) Start ¶
func (ams *AppMockServer) Start()
type ErrorHandler ¶
func NewErrorHandler ¶
func NewErrorHandler(code int, message string) *ErrorHandler
func (*ErrorHandler) ServeHTTP ¶
func (eh *ErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.