Categorygithub.com/beanox/webservice
modulepackage
0.4.2
Repository: https://github.com/beanox/webservice.git
Documentation: pkg.go.dev

# README

webservice

Golang Microservice helper based on gorilla/mux

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AllowAllCorsMiddleware returns middleware function that can be used in router.Use().
NewServerStatus create default service status.
NewSimpleService creates new simple service object.

# Structs

GelfFormatter ...
ServerStatus return actual state and process data so you can test with url/state the correct installation of microservice.
SimpleServiceBase ...

# Interfaces

ConfigureRouterHandler ...
SimpleService ...
SimpleServiceBeforeEnd ...
SimpleServiceBeforeStart ...
SimpleServiceGetHTTPHandlerObsolete ...
SimpleServiceGetStatusHandler ...
SimpleServiceObject ...
SimpleServicePreparePFlags ...

# Type aliases

AppHandler is handler that take care of content type and error handling.
AppHandlerWithUserID is handler that take care of userID, content type and error handling.