Documentation ¶
Index ¶
- Variables
- type GitHubService
- func (s *GitHubService) Avatar(ctx context.Context, in *v1.AvatarRequest) (*v1.AvatarReply, error)
- func (s *GitHubService) ListSessions(ctx context.Context, in *v1.ListRequest) (*v1.ListSessionsReply, error)
- func (s *GitHubService) ListUsers(ctx context.Context, in *v1.ListRequest) (*v1.ListUsersReply, error)
- func (s *GitHubService) Logout(ctx context.Context, in *v1.LogoutRequest) (*v1.LogoutReply, error)
- type TodoService
- func (s *TodoService) Add(ctx context.Context, in *v1.AddRequest) (*v1.AddReply, error)
- func (s *TodoService) Delete(ctx context.Context, in *v1.DeleteRequest) (*v1.DeleteReply, error)
- func (s *TodoService) List(ctx context.Context, in *v1.ListRequest) (*v1.ListReply, error)
- func (s *TodoService) Mark(ctx context.Context, in *v1.MarkRequest) (*v1.MarkReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewTodoService, NewGitHubService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GitHubService ¶
type GitHubService struct { v1.UnimplementedGitHubServer // contains filtered or unexported fields }
func NewGitHubService ¶
func NewGitHubService(uc *biz.GitHubUsecase) *GitHubService
func (*GitHubService) Avatar ¶
func (s *GitHubService) Avatar(ctx context.Context, in *v1.AvatarRequest) (*v1.AvatarReply, error)
TODO: Get Avatar
func (*GitHubService) ListSessions ¶
func (s *GitHubService) ListSessions(ctx context.Context, in *v1.ListRequest) (*v1.ListSessionsReply, error)
No user access checking for now
func (*GitHubService) ListUsers ¶
func (s *GitHubService) ListUsers(ctx context.Context, in *v1.ListRequest) (*v1.ListUsersReply, error)
No user access checking for now
func (*GitHubService) Logout ¶
func (s *GitHubService) Logout(ctx context.Context, in *v1.LogoutRequest) (*v1.LogoutReply, error)
type TodoService ¶
type TodoService struct { v1.UnimplementedTodoServer // contains filtered or unexported fields }
func NewTodoService ¶
func NewTodoService(uc *biz.TodoUsecase) *TodoService
func (*TodoService) Add ¶
func (s *TodoService) Add(ctx context.Context, in *v1.AddRequest) (*v1.AddReply, error)
func (*TodoService) Delete ¶
func (s *TodoService) Delete(ctx context.Context, in *v1.DeleteRequest) (*v1.DeleteReply, error)
func (*TodoService) List ¶
func (s *TodoService) List(ctx context.Context, in *v1.ListRequest) (*v1.ListReply, error)
func (*TodoService) Mark ¶
func (s *TodoService) Mark(ctx context.Context, in *v1.MarkRequest) (*v1.MarkReply, error)
Click to show internal directories.
Click to hide internal directories.