grpc

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouterGRPC

func NewRouterGRPC(cuc *command.UseCase, quc *query.UseCase) *grpc.Server

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) GetByAlias

func (*AccountProto) GetByIds

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)

Jump to

Keyboard shortcuts

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