Documentation
¶
Index ¶
- func ErrRespJson(c *gin.Context, code int, msg string)
- func GetLocalBoundIP() string
- func NewGroups(gp ...string) map[string]*Group
- func Run(gs map[string]*Group, p ...string) error
- func RunWithNoGroup(ip, port string, rs ...Route)
- func SetStatic(p string)
- func TestHandle(rs []*Route) *gin.Engine
- type Group
- type Info
- type Resp
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalBoundIP ¶ added in v1.0.7
func GetLocalBoundIP() string
func RunWithNoGroup ¶
func TestHandle ¶
Types ¶
type Group ¶
type Group struct { Path string Router *gin.RouterGroup // contains filtered or unexported fields }
type Info ¶
Click to show internal directories.
Click to hide internal directories.