Documentation ¶
Index ¶
Constants ¶
View Source
const ( EMPTY_PARAMS errors.CodeError = iota + errors.MinPkgStatic EMPTY_PACKED INDEX_NOT_FOUND INDEX_REQUESTED_NOT_SET FILE_NOT_FOUND )
View Source
const (
FileIndex = "index.html"
)
Variables ¶
This section is empty.
Functions ¶
func IsCodeError ¶
func IsCodeError() bool
Types ¶
type Static ¶
type Static interface { Register(register router.RegisterRouter) RegisterInGroup(group string, register router.RegisterRouterInGroup) SetDownloadAll() SetDownload(file string) IsDownload(file string) bool Has(file string) bool Find(file string) ([]byte, error) Health() errors.Error Get(c *gin.Context) }
Click to show internal directories.
Click to hide internal directories.