Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiddlewareBuilder ¶
type MiddlewareBuilder struct {
// contains filtered or unexported fields
}
func NewmiddlewareBuilder ¶
func NewmiddlewareBuilder(fn func(ctx context.Context, al *AccessLog)) *MiddlewareBuilder
func (*MiddlewareBuilder) AllowReqBody ¶
func (b *MiddlewareBuilder) AllowReqBody(ok bool) *MiddlewareBuilder
func (*MiddlewareBuilder) AllowRespBody ¶
func (b *MiddlewareBuilder) AllowRespBody() *MiddlewareBuilder
func (*MiddlewareBuilder) Build ¶
func (b *MiddlewareBuilder) Build() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.