Documentation
¶
Index ¶
- type GraniteGRPCServer
- func (s *GraniteGRPCServer) CreateAccount(ctx context.Context, in *pb.CreateAccountRequest) (*pb.CreateAccountResponse, error)
- func (s *GraniteGRPCServer) GetAccountByID(ctx context.Context, in *pb.GetAccountRequest) (*pb.GetAccountResponse, error)
- func (s *GraniteGRPCServer) StartListening(cfg *config.Config, wg *sync.WaitGroup)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraniteGRPCServer ¶
type GraniteGRPCServer struct {
pb.AccountServiceServer
}
func (*GraniteGRPCServer) CreateAccount ¶
func (s *GraniteGRPCServer) CreateAccount(ctx context.Context, in *pb.CreateAccountRequest) (*pb.CreateAccountResponse, error)
func (*GraniteGRPCServer) GetAccountByID ¶
func (s *GraniteGRPCServer) GetAccountByID(ctx context.Context, in *pb.GetAccountRequest) (*pb.GetAccountResponse, error)
func (*GraniteGRPCServer) StartListening ¶
func (s *GraniteGRPCServer) StartListening(cfg *config.Config, wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.