Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Factory = FactoryType{}
Functions ¶
This section is empty.
Types ¶
type CorsMiddleware ¶
type CorsMiddleware struct {
// contains filtered or unexported fields
}
func NewCors ¶
func NewCors(handler http.Handler) *CorsMiddleware
func (*CorsMiddleware) ServeHTTP ¶
func (this *CorsMiddleware) ServeHTTP(res http.ResponseWriter, req *http.Request)
type FactoryType ¶
type FactoryType struct{}
func (FactoryType) NewConsumer ¶
func (FactoryType) NewProducer ¶
func (this FactoryType) NewProducer(ctx context.Context, config util.Config) (com.ProducerInterface, error)
type LoggerMiddleWare ¶
type LoggerMiddleWare struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(handler http.Handler) *LoggerMiddleWare
func (*LoggerMiddleWare) ServeHTTP ¶
func (this *LoggerMiddleWare) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.