Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPostValue ¶
func ParserDataRequest ¶
Types ¶
type GinAPI ¶
type GinAPI interface {
errors.ApiErrorHandler
GetAPIs() []*GinApiHandler
}
type GinApiHandler ¶
type GinApiServer ¶
type GinApiServer interface {
AddAPIs(handlers ...GinAPI) GinApiServer
Middles(mids ...mid.GinMiddle) GinApiServer
SetServerErrorHandler(errors.GinServerErrorHandler) GinApiServer
SetAuth(authmid auth.GinAuthMidInter) GinApiServer
SetTrustedProxies([]string) GinApiServer
SetPromhttp(c ...prometheus.Collector) GinApiServer
Static(relativePath, root string) GinApiServer
Run(port int) error
// contains filtered or unexported methods
}
func NewGinApiServer ¶
func NewGinApiServer(mode string, service string) GinApiServer
Click to show internal directories.
Click to hide internal directories.