Documentation ¶
Index ¶
- type APIv1
- func (api *APIv1) Add(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) CheckApikey(ApiKey string) bool
- func (api *APIv1) CreateApiKey(userID, AppName string) Apikey
- func (api *APIv1) GetUserIDbyApiKey(ApiKey string) string
- func (api *APIv1) Get_new_api_key(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Index(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) List(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Login(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Logout(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Lookup(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Register(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Remove(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) Update(w http.ResponseWriter, r *http.Request)
- func (api *APIv1) UserRemove(w http.ResponseWriter, r *http.Request)
- type Apikey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIv1 ¶
type APIv1 struct {
// contains filtered or unexported fields
}
func (*APIv1) CheckApikey ¶
func (*APIv1) CreateApiKey ¶
func (*APIv1) GetUserIDbyApiKey ¶
func (*APIv1) Get_new_api_key ¶
func (api *APIv1) Get_new_api_key(w http.ResponseWriter, r *http.Request)
func (*APIv1) UserRemove ¶
func (api *APIv1) UserRemove(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.