Discover Packages
github.com/gcslaoli/config-deliver/config-deliver-server
internal
controller
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 24, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type GetConfigReq struct {
g .Meta `path:"/getconfig" tags:"GetConfig" method:"get" summary:"GetConfig"`
Id string `p:"id" v:"required#id is required"`
Filename string `p:"file"`
Dl string `p:"dl"`
}
type GetConfigRes struct {
g .Meta `mime:"text/html" example:"string"`
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
}
type IndexReq struct {
g .Meta `path:"/" tags:"Index" method:"get" summary:"Index"`
}
type IndexRes struct {
GOOS string `json:"goos"`
GOARCH string `json:"goarch"`
Version string `json:"version"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.