server

package
v0.0.0-...-c3a2cad Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockChainServer

type BlockChainServer struct {
	protogen.UnimplementedBlockChainServiceServer
	// contains filtered or unexported fields
}

func NewBlockChainServer

func NewBlockChainServer(blockChainService service.BlockChainService, config config.Config) *BlockChainServer

func (*BlockChainServer) Consensus

func (*BlockChainServer) CreateTransaction

func (*BlockChainServer) DeleteTransaction

func (bcs *BlockChainServer) DeleteTransaction(ctx context.Context, req *protogen.Empty) (*protogen.StatusResponse, error)

func (*BlockChainServer) GetBlockChain

func (*BlockChainServer) ListTransactions

func (*BlockChainServer) RunGatewayServer

func (bcs *BlockChainServer) RunGatewayServer()

func (*BlockChainServer) RunGrpcServer

func (bcs *BlockChainServer) RunGrpcServer()

func (*BlockChainServer) StopGrpcServer

func (s *BlockChainServer) StopGrpcServer()

func (*BlockChainServer) UpdateTransaction

func (*BlockChainServer) WalletBalance

type WalletServer

type WalletServer struct {
	protogen.UnimplementedWalletServiceServer
	// contains filtered or unexported fields
}

func NewWalletServer

func NewWalletServer(walletService service.WalletService, config config.Config) *WalletServer

func (*WalletServer) CreateTransaction

func (*WalletServer) CreateWallet

func (ws *WalletServer) CreateWallet(ctx context.Context, req *protogen.Empty) (*protogen.CreateWalletResponse, error)

func (*WalletServer) RunGatewayServer

func (s *WalletServer) RunGatewayServer()

func (*WalletServer) RunGrpcServer

func (s *WalletServer) RunGrpcServer()

func (*WalletServer) StopGrpcServer

func (s *WalletServer) StopGrpcServer()

func (*WalletServer) WalletBalance

Jump to

Keyboard shortcuts

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