Categorygithub.com/Travix-International/go-servicefoundation/v8

# Packages

No description provided by the author

# Functions

NewCustomService allows you to customize ServiceFoundation using your own implementations of factories.
NewExitFunc returns a new exit function.
NewLogFactory instantiates a new LogFactory implementation.
NewMetrics instantiates a new Metrics implementation.
NewMiddlewareWrapper instantiates a new MiddlewareWrapper implementation.
NewRouterFactory instantiates a new RouterFactory implementation.
NewService creates and returns a Service that uses environment variables for default configuration.
NewServiceHandlerFactory creates a new factory with handler implementations.
NewServiceOptions creates and returns ServiceOptions that use environment variables for default configuration.
NewServiceStateReader instantiates a new basic ServiceStateReader implementation, which always returns true for it's state methods.
NewVersionBuilder creates and returns a VersionBuilder for the given BuildVersion.
NewWrappedResponseWriter instantiates a new WrappedResponseWriter implementation.

# Constants

AcceptHeader is the name of the http Accept header.
ContentTypeHeader is the name of the http content type header.
ContentTypeJSON is the value of the http content type header for JSON documents.
ContentTypeXML is the value of the http content type header for XML documents.
CORS is a Middleware enumeration for validating cross-domain requests.
Counter is a middleware enumeration to add counter metrics to the current request/response.
Histogram is a middleware enumeration to add histogram metrics to the current request/response.
NoCaching is a middleware enumeration to adding no-caching headers to the response.
PanicTo500 is a middleware enumeration to log panics as errors and respond with http status-code 500.
RequestLogging is a middleware enumeration to log the incoming request and response times.
RequestMetrics is a middleware enumeration to measure the incoming request and response times.

# Variables

DefaultMiddlewares contains the default middleware wrappers for the predefined service endpoints.
MethodsForGet contains a slice with the supported http methods for GET.
MethodsForPost contains a slice with the supported http methods for POST.

# Structs

No description provided by the author
CORSOptions contains properties used for handling CORS requests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

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

# Type aliases

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