Documentation ¶
Index ¶
- func GetAllUsers(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func GetMe(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func GetMyInterests(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func GetPublicUser(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func Login(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func RefreshToken(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func Register(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func UpdateMyInterests(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
- func ValidateUser(next http.HandlerFunc, c authpb.AuthServiceClient) http.HandlerFunc
- type LoginReq
- type RegisterReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllUsers ¶
func GetAllUsers(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func GetMe ¶
func GetMe(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func GetMyInterests ¶
func GetMyInterests(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func GetPublicUser ¶
func GetPublicUser(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func Login ¶
func Login(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func RefreshToken ¶
func RefreshToken(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func Register ¶
func Register(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func UpdateMyInterests ¶
func UpdateMyInterests(w http.ResponseWriter, r *http.Request, c authpb.AuthServiceClient)
func ValidateUser ¶
func ValidateUser(next http.HandlerFunc, c authpb.AuthServiceClient) http.HandlerFunc
Types ¶
type RegisterReq ¶
Click to show internal directories.
Click to hide internal directories.