Documentation
¶
Index ¶
- func AfterLogout(c echo.Context) error
- func AppendUser(ip string, id string, name string, disc string, nick string)
- func CheckRole(inter []string) string
- func ConfigLoad()
- func Cryper() []byte
- func Decoder(Data string) interface{}
- func Decoder_in(Data string) interface{}
- func DeleteSession(c echo.Context)
- func EchoLogger(next echo.HandlerFunc) echo.HandlerFunc
- func Exists(name string) bool
- func FalseToConvert(path string) string
- func Filter(mapData interface{}, CutData string, target int64) bool
- func GetConfig() config
- func GetFlag() path
- func GuildErrorPages(c echo.Context) error
- func LogFolderCreate()
- func LogWrite(content string)
- func Logger(mode string, content string)
- func LoginErrorPages(c echo.Context) error
- func ParseFlag()
- func PrivateErrorPages(c echo.Context) error
- func ReadSession(c echo.Context, key string) string
- func RoleTest(inter []string, data string) bool
- func StoreCreate() sessions.Store
- func WriteSession(c echo.Context, key string, value string)
- func XGet(url string, header http.Header) string
- func XPoster(url string, PostData url.Values) string
- type LoginUserConf
- type UserLogJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterLogout ¶
func AfterLogout(c echo.Context) error
func ConfigLoad ¶
func ConfigLoad()
func Decoder_in ¶
func Decoder_in(Data string) interface{}
func DeleteSession ¶
func DeleteSession(c echo.Context)
func EchoLogger ¶
func EchoLogger(next echo.HandlerFunc) echo.HandlerFunc
func FalseToConvert ¶
func GuildErrorPages ¶
func GuildErrorPages(c echo.Context) error
func LogFolderCreate ¶
func LogFolderCreate()
func LoginErrorPages ¶
func LoginErrorPages(c echo.Context) error
func PrivateErrorPages ¶
func PrivateErrorPages(c echo.Context) error
func ReadSession ¶
func StoreCreate ¶
func WriteSession ¶
Types ¶
type LoginUserConf ¶
type LoginUserConf struct { Nick string `json:"nick"` User user `json:"user"` Roles []string `json:"roles"` }
func LoginUserParse ¶
func LoginUserParse(data string) LoginUserConf
Click to show internal directories.
Click to hide internal directories.