Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Default = StdConfig("default").Build()
)
Functions ¶
func Handler ¶
func Handler() gin.HandlerFunc
func UrlMapping ¶
Types ¶
type GinOTLE ¶
type GinOTLE struct {
// contains filtered or unexported fields
}
func (*GinOTLE) Handler ¶
func (prom *GinOTLE) Handler() gin.HandlerFunc
type OptionFunc ¶
type OptionFunc func(*Config)
OptionFunc 选项信息
func WithURLMapping ¶
func WithURLMapping(fn func(*gin.Context) string) OptionFunc
WithURLMapping set up url mapping func default is: UrlMapping
Click to show internal directories.
Click to hide internal directories.