Documentation ¶
Index ¶
- Variables
- func Consume() []mux.MiddlewareFunc
- type Middleware
- type MiddlewareRegistration
- func (*MiddlewareRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareRegistration) GetName() string
- func (*MiddlewareRegistration) ProtoMessage()
- func (x *MiddlewareRegistration) ProtoReflect() protoreflect.Message
- func (x *MiddlewareRegistration) Reset()
- func (x *MiddlewareRegistration) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_std_go_http_middleware_provider_proto protoreflect.FileDescriptor
View Source
var (
Package__c3bggl = &core.Package{
PackageName: "namespacelabs.dev/foundation/std/go/http/middleware",
}
)
Functions ¶
func Consume ¶
func Consume() []mux.MiddlewareFunc
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func ProvideMiddleware ¶
func ProvideMiddleware(ctx context.Context, r *MiddlewareRegistration) (Middleware, error)
func (Middleware) Add ¶
func (r Middleware) Add(middleware mux.MiddlewareFunc)
type MiddlewareRegistration ¶
type MiddlewareRegistration struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*MiddlewareRegistration) Descriptor
deprecated
func (*MiddlewareRegistration) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareRegistration.ProtoReflect.Descriptor instead.
func (*MiddlewareRegistration) GetName ¶
func (x *MiddlewareRegistration) GetName() string
func (*MiddlewareRegistration) ProtoMessage ¶
func (*MiddlewareRegistration) ProtoMessage()
func (*MiddlewareRegistration) ProtoReflect ¶
func (x *MiddlewareRegistration) ProtoReflect() protoreflect.Message
func (*MiddlewareRegistration) Reset ¶
func (x *MiddlewareRegistration) Reset()
func (*MiddlewareRegistration) String ¶
func (x *MiddlewareRegistration) String() string
Click to show internal directories.
Click to hide internal directories.