in

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouterGRPC

NewRouterGRPC registers routes to the grpc.

Types

type AccountProto

type AccountProto struct {
	Command *command.UseCase
	Query   *query.UseCase
	account.UnimplementedAccountProtoServer
}

AccountProto struct contains an account use case for managing account related operations.

func (*AccountProto) GetAccountsByAliases

func (ap *AccountProto) GetAccountsByAliases(ctx context.Context, aliases *account.AccountsAlias) (*account.AccountsResponse, error)

GetAccountsByAliases is a method that retrieves Account information by a given aliases.

func (*AccountProto) GetAccountsByIds

func (ap *AccountProto) GetAccountsByIds(ctx context.Context, ids *account.AccountsID) (*account.AccountsResponse, error)

GetAccountsByIds is a method that retrieves Account information by a given ids.

func (*AccountProto) UpdateAccounts

func (ap *AccountProto) UpdateAccounts(ctx context.Context, update *account.AccountsRequest) (*account.AccountsResponse, error)

UpdateAccounts is a method that update Account balances by a given ids.

Jump to

Keyboard shortcuts

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