Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpentracingTracer = "opentracing_tracer" OpentracingCtx = "opentracing_ctx" )
Variables ¶
View Source
var ( ConfigFacade config.Config CacheFacade cache.Cache RateLimiterFacade http.RateLimiter )
View Source
var App foundation.Application
Functions ¶
func Cors ¶
func Cors() httpcontract.Middleware
func Opentracing ¶
func Opentracing(tracer opentracing.Tracer) http.Middleware
func Throttle ¶
func Throttle(name string) httpcontract.Middleware
func Tls ¶
func Tls(host ...string) httpcontract.Middleware
Types ¶
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.