package
0.7.5
Repository: https://github.com/hidu/api-front.git
Documentation: pkg.go.dev

# Functions

DirCheck create dir if not exists.
FileExists check file exists.
InIntSlice check int in slice.
InStringSlice check string in slice.
IsContentTypeText check contentType is text.
IsRequestDumpBody if not big body,can dump request.
No description provided by the author
LoadJSONFile easy load json file.
NewAPIServerManager init manager.
No description provided by the author
ReqCookieHidden hidden request cookie value.
ResCookieSetHidden hidden response cookie value.
SetInterval interval run func.
StrSliceIntersectGetOne get one of a ,which a is in b.
StrSliceRandItem get random item from slice.
URLPathClean clean url path.

# Constants

* *登陆方式 */.
No description provided by the author
No description provided by the author

# Variables

APIFrontVersion current server version.
Assest export assests.

# Structs

APIServer api server.
APIServerManager server manager.
AssestFile assest file struct.
AssestStruct assest files.
BroadCastData broad to browser data.
CallerItem caller host.
CallerPrefConf pref item.
Counter counter for server.
Host one api backend host.
JSONResult json result when ajax call.
No description provided by the author
No description provided by the author

# Type aliases

Caller caller hosts.
Hosts api hosts.