Documentation
¶
Index ¶
- type Server
- func (server *Server) Bytes(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) GetInflationRate(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) GetTotalSupply(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) NewChainConfig(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) ReadChainConfigFromMemory(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) String(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
- func (server *Server) WriteToMemory(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server - RPC server
func (*Server) Bytes ¶
func (server *Server) Bytes(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
Bytes - config.Bytes RPC handler
func (*Server) GetInflationRate ¶ added in v0.6.2
func (server *Server) GetInflationRate(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
GetInflationRate - config.GetInflationRate RPC handler
func (*Server) GetTotalSupply ¶
func (server *Server) GetTotalSupply(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
GetTotalSupply - config.GetTotalSupply RPC handler
func (*Server) NewChainConfig ¶
func (server *Server) NewChainConfig(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
NewChainConfig - config.NewChainConfig RPC handler
func (*Server) ReadChainConfigFromMemory ¶
func (server *Server) ReadChainConfigFromMemory(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
ReadChainConfigFromMemory - config.ReadChainConfigFromMemory RPC handler
func (*Server) String ¶
func (server *Server) String(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
String - config.String RPC handler
func (*Server) WriteToMemory ¶
func (server *Server) WriteToMemory(ctx context.Context, req *configProto.GeneralRequest) (*configProto.GeneralResponse, error)
WriteToMemory - config.WriteToMemory RPC handler
Click to show internal directories.
Click to hide internal directories.