service

package
v0.0.0-...-b8b67ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 7 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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 (*AccountService) DeleteAccount

func (*AccountService) GetAccount

func (*AccountService) ListAccount

func (*AccountService) UpdateAccount

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 (*HelloworldService) DeleteHelloworld

func (*HelloworldService) GetHelloworld

func (*HelloworldService) ListHelloworld

func (*HelloworldService) UpdateHelloworld

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL