Documentation
¶
Index ¶
- type Server
- func (server *Server) CalculateQuadraticExponent(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) LogShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) NewShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) NewShardWithNodes(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) QueryForAddress(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) SendBytesShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) SendBytesShardResult(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
- func (server *Server) Shard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server - GoP2P RPC server
func (*Server) CalculateQuadraticExponent ¶
func (server *Server) CalculateQuadraticExponent(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
CalculateQuadraticExponent - shard.CalculateQuadraticExponent RPC handler
func (*Server) LogShard ¶
func (server *Server) LogShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
LogShard - shard.LogShard RPC handler
func (*Server) NewShard ¶
func (server *Server) NewShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
NewShard - shard.NewShard RPC handler
func (*Server) NewShardWithNodes ¶
func (server *Server) NewShardWithNodes(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
NewShardWithNodes - shard.NewShardWithNodes RPC handler
func (*Server) QueryForAddress ¶
func (server *Server) QueryForAddress(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
QueryForAddress - shard.QueryForAddress RPC handler
func (*Server) SendBytesShard ¶
func (server *Server) SendBytesShard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
SendBytesShard - shard.SendBytesShard RPC handler
func (*Server) SendBytesShardResult ¶
func (server *Server) SendBytesShardResult(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
SendBytesShardResult - shard.SendBytesShardResult RPC handler
func (*Server) Shard ¶
func (server *Server) Shard(ctx context.Context, req *shardProto.GeneralRequest) (*shardProto.GeneralResponse, error)
Shard - shard.Shard RPC handler
Click to show internal directories.
Click to hide internal directories.