middleware

package
v0.0.300 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL