AppKeyManageServer

package
v0.0.0-...-6755852 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL