Documentation ¶
Index ¶
- type AppKeyManageServer
- func (akms *AppKeyManageServer) Get(AppKey string) (bool, AuthKey.AuthKey)
- func (akms *AppKeyManageServer) HandlerGetAppKeys(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (akms *AppKeyManageServer) HandlerNewAppKey(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (akms *AppKeyManageServer) HandlerRefreashAppKeys(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (akms *AppKeyManageServer) ListenAndServe(serve string)
- func (akms *AppKeyManageServer) Refreash() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppKeyManageServer ¶
type AppKeyManageServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(dbConn string) *AppKeyManageServer
func (*AppKeyManageServer) Get ¶
func (akms *AppKeyManageServer) Get(AppKey string) (bool, AuthKey.AuthKey)
func (*AppKeyManageServer) HandlerGetAppKeys ¶
func (akms *AppKeyManageServer) HandlerGetAppKeys(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*AppKeyManageServer) HandlerNewAppKey ¶
func (akms *AppKeyManageServer) HandlerNewAppKey(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*AppKeyManageServer) HandlerRefreashAppKeys ¶
func (akms *AppKeyManageServer) HandlerRefreashAppKeys(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*AppKeyManageServer) ListenAndServe ¶
func (akms *AppKeyManageServer) ListenAndServe(serve string)
func (*AppKeyManageServer) Refreash ¶
func (akms *AppKeyManageServer) Refreash() error
Click to show internal directories.
Click to hide internal directories.