Documentation ¶
Index ¶
- func NewUserService() user.UserServerServer
- type UserService
- func (u *UserService) AllUsers(ctx context.Context, _ *empty.Empty) (*user.AllUsersResponse, error)
- func (u *UserService) GithubAuth(ctx context.Context, in *user.GithubAuthRequest) (*user.GithubAuthResponse, error)
- func (u *UserService) Me(ctx context.Context, _ *empty.Empty) (*user.UserResponse, error)
- func (u *UserService) TotalUsers(ctx context.Context, _ *empty.Empty) (*user.TotalUsersResponse, error)
- func (u *UserService) User(ctx context.Context, in *user.LoginRequest) (*user.UserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserService ¶
func NewUserService() user.UserServerServer
Types ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func (*UserService) AllUsers ¶
func (u *UserService) AllUsers(ctx context.Context, _ *empty.Empty) (*user.AllUsersResponse, error)
func (*UserService) GithubAuth ¶
func (u *UserService) GithubAuth(ctx context.Context, in *user.GithubAuthRequest) (*user.GithubAuthResponse, error)
func (*UserService) Me ¶
func (u *UserService) Me(ctx context.Context, _ *empty.Empty) (*user.UserResponse, error)
func (*UserService) TotalUsers ¶
func (u *UserService) TotalUsers(ctx context.Context, _ *empty.Empty) (*user.TotalUsersResponse, error)
func (*UserService) User ¶
func (u *UserService) User(ctx context.Context, in *user.LoginRequest) (*user.UserResponse, error)
Click to show internal directories.
Click to hide internal directories.