Documentation ¶
Index ¶
- Variables
- type AccountInterface
- func (a *AccountInterface) CreateAccount(ctx context.Context, req *pb.CreateAccountRequest) (*pb.CreateAccountReply, error)
- func (a *AccountInterface) DeleteAccount(ctx context.Context, req *pb.DeleteAccountRequest) (*pb.DeleteAccountReply, error)
- func (a *AccountInterface) GetAccount(ctx context.Context, req *pb.GetAccountRequest) (*pb.GetAccountReply, error)
- func (a *AccountInterface) ListAccount(ctx context.Context, req *pb.ListAccountRequest) (*pb.ListAccountReply, error)
- func (a *AccountInterface) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
- func (a *AccountInterface) UpdateAccount(ctx context.Context, req *pb.UpdateAccountRequest) (*pb.UpdateAccountReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAccountInterface)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AccountInterface ¶
type AccountInterface struct { pb.UnimplementedAccountServer // contains filtered or unexported fields }
func NewAccountInterface ¶
func NewAccountInterface(uc *biz.AccountUseCase, logger log.Logger) *AccountInterface
func (*AccountInterface) CreateAccount ¶
func (a *AccountInterface) CreateAccount(ctx context.Context, req *pb.CreateAccountRequest) (*pb.CreateAccountReply, error)
func (*AccountInterface) DeleteAccount ¶
func (a *AccountInterface) DeleteAccount(ctx context.Context, req *pb.DeleteAccountRequest) (*pb.DeleteAccountReply, error)
func (*AccountInterface) GetAccount ¶
func (a *AccountInterface) GetAccount(ctx context.Context, req *pb.GetAccountRequest) (*pb.GetAccountReply, error)
func (*AccountInterface) ListAccount ¶
func (a *AccountInterface) ListAccount(ctx context.Context, req *pb.ListAccountRequest) (*pb.ListAccountReply, error)
func (*AccountInterface) Login ¶
func (a *AccountInterface) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
func (*AccountInterface) UpdateAccount ¶
func (a *AccountInterface) UpdateAccount(ctx context.Context, req *pb.UpdateAccountRequest) (*pb.UpdateAccountReply, error)
Click to show internal directories.
Click to hide internal directories.