Documentation ¶
Index ¶
- func NewRouterGRPC(cuc *command.UseCase, quc *query.UseCase) *grpc.Server
- type AccountProto
- func (ap *AccountProto) GetByAlias(ctx context.Context, aliases *proto.ManyAccountsAlias) (*proto.ManyAccountsResponse, error)
- func (ap *AccountProto) GetByIds(ctx context.Context, ids *proto.ManyAccountsID) (*proto.ManyAccountsResponse, error)
- func (ap *AccountProto) Update(ctx context.Context, update *proto.UpdateRequest) (*proto.Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountProto ¶
type AccountProto struct { Command *command.UseCase Query *query.UseCase proto.UnimplementedAccountProtoServer }
AccountProto struct contains an account use case for managing account related operations.
func (*AccountProto) GetByAlias ¶
func (ap *AccountProto) GetByAlias(ctx context.Context, aliases *proto.ManyAccountsAlias) (*proto.ManyAccountsResponse, error)
func (*AccountProto) GetByIds ¶
func (ap *AccountProto) GetByIds(ctx context.Context, ids *proto.ManyAccountsID) (*proto.ManyAccountsResponse, error)
GetByIds is a method that retrieves Account information by a given ids.
func (*AccountProto) Update ¶
func (ap *AccountProto) Update(ctx context.Context, update *proto.UpdateRequest) (*proto.Account, error)
Click to show internal directories.
Click to hide internal directories.