Documentation ¶
Index ¶
- type API
- func (a *API) AuthAccept(w http.ResponseWriter, r *http.Request)
- func (a *API) ChangeUserRole(w http.ResponseWriter, r *http.Request)
- func (a *API) GetCsrfToken(w http.ResponseWriter, r *http.Request)
- func (a *API) GetUsers(w http.ResponseWriter, r *http.Request)
- func (a *API) IsSubcribed(w http.ResponseWriter, r *http.Request)
- func (a *API) ListenAndServe() error
- func (a *API) LogoutSession(w http.ResponseWriter, r *http.Request)
- func (a *API) Profile(w http.ResponseWriter, r *http.Request)
- func (a *API) Signin(w http.ResponseWriter, r *http.Request)
- func (a *API) Signup(w http.ResponseWriter, r *http.Request)
- func (a *API) SubcribePush(w http.ResponseWriter, r *http.Request)
- type IApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) AuthAccept ¶
func (a *API) AuthAccept(w http.ResponseWriter, r *http.Request)
func (*API) ChangeUserRole ¶
func (a *API) ChangeUserRole(w http.ResponseWriter, r *http.Request)
func (*API) GetCsrfToken ¶
func (a *API) GetCsrfToken(w http.ResponseWriter, r *http.Request)
func (*API) IsSubcribed ¶
func (a *API) IsSubcribed(w http.ResponseWriter, r *http.Request)
func (*API) ListenAndServe ¶
func (*API) LogoutSession ¶
func (a *API) LogoutSession(w http.ResponseWriter, r *http.Request)
func (*API) SubcribePush ¶
func (a *API) SubcribePush(w http.ResponseWriter, r *http.Request)
type IApi ¶
type IApi interface { SendResponse(w http.ResponseWriter, response requests.Response) Signin(w http.ResponseWriter, r *http.Request) SigninResponse(w http.ResponseWriter, r *http.Request) Signup(w http.ResponseWriter, r *http.Request) LogoutSession(w http.ResponseWriter, r *http.Request) AuthAccept(w http.ResponseWriter, r *http.Request) }
Click to show internal directories.
Click to hide internal directories.