Documentation ¶
Index ¶
- func DeleteCurrentUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
- func GetCurrentUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
- func GetUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
- func GetUserByUsername(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
- func GetUsers(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
- func Login(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func Register(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- type GetUserRequest
- type LoginRequest
- type RegisterRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCurrentUser ¶
func DeleteCurrentUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
func GetCurrentUser ¶
func GetCurrentUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
func GetUser ¶
func GetUser(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
func GetUserByUsername ¶
func GetUserByUsername(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
func GetUsers ¶
func GetUsers(w http.ResponseWriter, r *http.Request, c authpb.UserServiceClient)
func Login ¶
func Login(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func Register ¶
func Register(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
Types ¶
type GetUserRequest ¶
type GetUserRequest struct {
Id string
}
type LoginRequest ¶
type RegisterRequest ¶
Click to show internal directories.
Click to hide internal directories.