package
0.0.0-20250307145209-c3a19bf62e49
Repository: https://github.com/ardanlabs/service.git
Documentation: pkg.go.dev
# Functions
WebAPI constructs a http.Handler with all application routes bound.
WithCORS provides configuration options for CORS.
WithFileServer provides configuration options for file server.
# Structs
AuthConfig contains auth service specific config.
No description provided by the author
Config contains all the mandatory systems required by handlers.
Options represent optional parameters.
SalesConfig contains sales service specific config.
StaticSite represents a static site to run.
# Interfaces
RouteAdder defines behavior that sets the routes to bind for an instance of the service.