Versions in this module Expand all Collapse all v5 v5.0.0 Dec 18, 2020 Changes in this version + func ClientVersionCheckMiddleware(h http.Handler, rng VersionRange) http.Handler + func CompressionLevel(level int) func(*serverConfig) + func NewRouter(c Controller) *mux.Router + func PanicMiddleware(h http.Handler) http.Handler + func TracingMiddleware(h http.Handler) http.Handler + func WithTracingOpName(ctx context.Context, opName string) context.Context + type Controller interface + NilCheck func(ctx context.Context, i *models.NilCheckInput) error + type MockController struct + func NewMockController(ctrl *gomock.Controller) *MockController + func (m *MockController) EXPECT() *MockControllerMockRecorder + func (m *MockController) NilCheck(ctx context.Context, i *models.NilCheckInput) error + type MockControllerMockRecorder struct + func (mr *MockControllerMockRecorder) NilCheck(ctx, i interface{}) *gomock.Call + type Server struct + Handler http.Handler + func AttachMiddleware(router *mux.Router, addr string, m []func(http.Handler) http.Handler, ...) *Server + func New(c Controller, addr string, options ...func(*serverConfig)) *Server + func NewWithMiddleware(c Controller, addr string, m []func(http.Handler) http.Handler, ...) *Server + func (s *Server) Serve() error + type VersionRange func(version string) bool Other modules containing this package github.com/Clever/wag github.com/Clever/wag/v6