grpc

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 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
	proto.UnimplementedAccountProtoServer
}

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

func (*AccountProto) GetAccountsByAliases added in v1.13.0

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

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

func (*AccountProto) GetAccountsByIds added in v1.13.0

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

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

func (*AccountProto) UpdateAccounts added in v1.13.0

func (ap *AccountProto) UpdateAccounts(ctx context.Context, update *proto.AccountsRequest) (*proto.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