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 NewBuilder ¶
func NewBuilder() *MiddlewareBuilder
func (*MiddlewareBuilder) Build ¶
func (m *MiddlewareBuilder) Build() kyuu.Middleware
func (*MiddlewareBuilder) LogFunc ¶
func (m *MiddlewareBuilder) LogFunc(fn func(log string)) *MiddlewareBuilder
LogFunc 这里如果需要配置的参数比较多,可以使用 函数选项模式
Click to show internal directories.
Click to hide internal directories.