Documentation ¶
Index ¶
- Variables
- type AccountService
- func (s *AccountService) CreateAccount(ctx context.Context, req *pb.CreateAccountRequest) (*pb.CreateAccountReply, error)
- func (s *AccountService) DeleteAccount(ctx context.Context, req *pb.DeleteAccountRequest) (*pb.DeleteAccountReply, error)
- func (s *AccountService) GetAccount(ctx context.Context, req *pb.GetAccountRequest) (*pb.GetAccountReply, error)
- func (s *AccountService) ListAccount(ctx context.Context, req *pb.ListAccountRequest) (*pb.ListAccountReply, error)
- func (s *AccountService) UpdateAccount(ctx context.Context, req *pb.UpdateAccountRequest) (*pb.UpdateAccountReply, error)
- type GreeterService
- type GroupService
- func (s *GroupService) CreateGroup(ctx context.Context, req *pb.CreateGroupRequest) (*pb.CreateGroupReply, error)
- func (s *GroupService) DeleteGroup(ctx context.Context, req *pb.DeleteGroupRequest) (*pb.DeleteGroupReply, error)
- func (s *GroupService) GetGroup(ctx context.Context, req *pb.GetGroupRequest) (*pb.GetGroupReply, error)
- func (s *GroupService) ListGroup(ctx context.Context, req *pb.ListGroupRequest) (*pb.ListGroupReply, error)
- func (s *GroupService) UpdateGroup(ctx context.Context, req *pb.UpdateGroupRequest) (*pb.UpdateGroupReply, error)
- type HelloworldService
- func (s *HelloworldService) CreateHelloworld(ctx context.Context, req *pb.CreateHelloworldRequest) (*pb.CreateHelloworldReply, error)
- func (s *HelloworldService) DeleteHelloworld(ctx context.Context, req *pb.DeleteHelloworldRequest) (*pb.DeleteHelloworldReply, error)
- func (s *HelloworldService) GetHelloworld(ctx context.Context, req *pb.GetHelloworldRequest) (*pb.GetHelloworldReply, error)
- func (s *HelloworldService) ListHelloworld(ctx context.Context, req *pb.ListHelloworldRequest) (*pb.ListHelloworldReply, error)
- func (s *HelloworldService) UpdateHelloworld(ctx context.Context, req *pb.UpdateHelloworldRequest) (*pb.UpdateHelloworldReply, error)
- type TeamService
- func (s *TeamService) CreateTeam(ctx context.Context, req *pb.CreateTeamRequest) (*pb.CreateTeamReply, error)
- func (s *TeamService) DeleteTeam(ctx context.Context, req *pb.DeleteTeamRequest) (*pb.DeleteTeamReply, error)
- func (s *TeamService) GetTeam(ctx context.Context, req *pb.GetTeamRequest) (*pb.GetTeamReply, error)
- func (s *TeamService) ListTeam(ctx context.Context, req *pb.ListTeamRequest) (*pb.ListTeamReply, error)
- func (s *TeamService) UpdateTeam(ctx context.Context, req *pb.UpdateTeamRequest) (*pb.UpdateTeamReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewGreeterService, NewAccountService, )
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct { pb.UnimplementedAccountServer // contains filtered or unexported fields }
func NewAccountService ¶
func NewAccountService(uc *biz.AccountUsecase, logger log.Logger) *AccountService
func (*AccountService) CreateAccount ¶
func (s *AccountService) CreateAccount(ctx context.Context, req *pb.CreateAccountRequest) (*pb.CreateAccountReply, error)
func (*AccountService) DeleteAccount ¶
func (s *AccountService) DeleteAccount(ctx context.Context, req *pb.DeleteAccountRequest) (*pb.DeleteAccountReply, error)
func (*AccountService) GetAccount ¶
func (s *AccountService) GetAccount(ctx context.Context, req *pb.GetAccountRequest) (*pb.GetAccountReply, error)
func (*AccountService) ListAccount ¶
func (s *AccountService) ListAccount(ctx context.Context, req *pb.ListAccountRequest) (*pb.ListAccountReply, error)
func (*AccountService) UpdateAccount ¶
func (s *AccountService) UpdateAccount(ctx context.Context, req *pb.UpdateAccountRequest) (*pb.UpdateAccountReply, error)
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGreeterServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(uc *biz.GreeterUsecase, logger log.Logger) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)
SayHello implements helloworld.GreeterServer
type GroupService ¶
type GroupService struct {
pb.UnimplementedGroupServer
}
func NewGroupService ¶
func NewGroupService() *GroupService
func (*GroupService) CreateGroup ¶
func (s *GroupService) CreateGroup(ctx context.Context, req *pb.CreateGroupRequest) (*pb.CreateGroupReply, error)
func (*GroupService) DeleteGroup ¶
func (s *GroupService) DeleteGroup(ctx context.Context, req *pb.DeleteGroupRequest) (*pb.DeleteGroupReply, error)
func (*GroupService) GetGroup ¶
func (s *GroupService) GetGroup(ctx context.Context, req *pb.GetGroupRequest) (*pb.GetGroupReply, error)
func (*GroupService) ListGroup ¶
func (s *GroupService) ListGroup(ctx context.Context, req *pb.ListGroupRequest) (*pb.ListGroupReply, error)
func (*GroupService) UpdateGroup ¶
func (s *GroupService) UpdateGroup(ctx context.Context, req *pb.UpdateGroupRequest) (*pb.UpdateGroupReply, error)
type HelloworldService ¶
type HelloworldService struct {
pb.UnimplementedHelloworldServer
}
func NewHelloworldService ¶
func NewHelloworldService() *HelloworldService
func (*HelloworldService) CreateHelloworld ¶
func (s *HelloworldService) CreateHelloworld(ctx context.Context, req *pb.CreateHelloworldRequest) (*pb.CreateHelloworldReply, error)
func (*HelloworldService) DeleteHelloworld ¶
func (s *HelloworldService) DeleteHelloworld(ctx context.Context, req *pb.DeleteHelloworldRequest) (*pb.DeleteHelloworldReply, error)
func (*HelloworldService) GetHelloworld ¶
func (s *HelloworldService) GetHelloworld(ctx context.Context, req *pb.GetHelloworldRequest) (*pb.GetHelloworldReply, error)
func (*HelloworldService) ListHelloworld ¶
func (s *HelloworldService) ListHelloworld(ctx context.Context, req *pb.ListHelloworldRequest) (*pb.ListHelloworldReply, error)
func (*HelloworldService) UpdateHelloworld ¶
func (s *HelloworldService) UpdateHelloworld(ctx context.Context, req *pb.UpdateHelloworldRequest) (*pb.UpdateHelloworldReply, error)
type TeamService ¶
type TeamService struct {
pb.UnimplementedTeamServer
}
func NewTeamService ¶
func NewTeamService() *TeamService
func (*TeamService) CreateTeam ¶
func (s *TeamService) CreateTeam(ctx context.Context, req *pb.CreateTeamRequest) (*pb.CreateTeamReply, error)
func (*TeamService) DeleteTeam ¶
func (s *TeamService) DeleteTeam(ctx context.Context, req *pb.DeleteTeamRequest) (*pb.DeleteTeamReply, error)
func (*TeamService) GetTeam ¶
func (s *TeamService) GetTeam(ctx context.Context, req *pb.GetTeamRequest) (*pb.GetTeamReply, error)
func (*TeamService) ListTeam ¶
func (s *TeamService) ListTeam(ctx context.Context, req *pb.ListTeamRequest) (*pb.ListTeamReply, error)
func (*TeamService) UpdateTeam ¶
func (s *TeamService) UpdateTeam(ctx context.Context, req *pb.UpdateTeamRequest) (*pb.UpdateTeamReply, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.