Documentation ¶
Index ¶
- type Server
- func (server *Server) LogNode(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
- func (server *Server) NewNode(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
- func (server *Server) ReadFromMemory(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
- func (server *Server) StartListener(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
- func (server *Server) WriteToMemory(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.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) LogNode ¶
func (server *Server) LogNode(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
LogNode - node.LogNode RPC handler
func (*Server) NewNode ¶
func (server *Server) NewNode(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
NewNode - node.NewNode RPC handler
func (*Server) ReadFromMemory ¶
func (server *Server) ReadFromMemory(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
ReadFromMemory - node.ReadFromMemory RPC handler
func (*Server) StartListener ¶
func (server *Server) StartListener(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
StartListener - node.StartListener RPC handler
func (*Server) WriteToMemory ¶
func (server *Server) WriteToMemory(ctx context.Context, req *nodeProto.GeneralRequest) (*nodeProto.GeneralResponse, error)
WriteToMemory - node.WriteToMemory RPC handler
Click to show internal directories.
Click to hide internal directories.