Documentation ¶
Index ¶
- func AddService(engine *gin.Engine) *gin.RouterGroup
- func Index(c *gin.Context)
- func NewRouter() *gin.Engine
- func SmPoliciesPost(c *gin.Context)
- func SmPoliciesSmPolicyIdDeletePost(c *gin.Context)
- func SmPoliciesSmPolicyIdGet(c *gin.Context)
- func SmPoliciesSmPolicyIdUpdatePost(c *gin.Context)
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddService ¶
func AddService(engine *gin.Engine) *gin.RouterGroup
func SmPoliciesSmPolicyIdDeletePost ¶
SmPoliciesSmPolicyIdDeletePost -
func SmPoliciesSmPolicyIdGet ¶
SmPoliciesSmPolicyIdGet -
func SmPoliciesSmPolicyIdUpdatePost ¶
SmPoliciesSmPolicyIdUpdatePost -
Types ¶
type Route ¶
type Route struct { // Name is the name of this Route. Name string // Method is the string for the HTTP method. ex) GET, POST etc.. Method string // Pattern is the pattern of the URI. Pattern string // HandlerFunc is the handler function of this route. HandlerFunc gin.HandlerFunc }
Route is the information for every URI.
Click to show internal directories.
Click to hide internal directories.