Documentation ¶
Index ¶
- type Server
- func (server *Server) CheckAddress(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) ConvertStringToReflectValues(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) GetCurrentDir(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) GetCurrentTime(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) GetExtIPAddrWithUPnP(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) GetExtIPAddrWithoutUPnP(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) ParseStringMethodCall(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) ParseStringParams(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) SeedAddress(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) SendBytes(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) Sha3(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) StringFetchCallReceiver(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) StringStripParentheses(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
- func (server *Server) StringStripReceiverCall(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.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) CheckAddress ¶
func (server *Server) CheckAddress(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
CheckAddress - common.CheckAddress RPC handler
func (*Server) ConvertStringToReflectValues ¶
func (server *Server) ConvertStringToReflectValues(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
ConvertStringToReflectValues - common.ConvertStringToReflectValues RPC handler
func (*Server) GetCurrentDir ¶
func (server *Server) GetCurrentDir(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
GetCurrentDir - common.GetCurrentDir RPC handler
func (*Server) GetCurrentTime ¶
func (server *Server) GetCurrentTime(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
GetCurrentTime - common.GetCurrentTime RPC handler
func (*Server) GetExtIPAddrWithUPnP ¶
func (server *Server) GetExtIPAddrWithUPnP(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
GetExtIPAddrWithUPnP - common.GetExtIPAddrWithUPnP RPC handler
func (*Server) GetExtIPAddrWithoutUPnP ¶
func (server *Server) GetExtIPAddrWithoutUPnP(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
GetExtIPAddrWithoutUPnP - common.GetExtIPAddrWithoutUPnP RPC handler
func (*Server) ParseStringMethodCall ¶
func (server *Server) ParseStringMethodCall(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
ParseStringMethodCall - common.ParseStringMethodCall RPC handler
func (*Server) ParseStringParams ¶
func (server *Server) ParseStringParams(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
ParseStringParams - common.ParseStringParams RPC handler
func (*Server) SeedAddress ¶
func (server *Server) SeedAddress(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
SeedAddress - common.SeedAddress RPC handler
func (*Server) SendBytes ¶
func (server *Server) SendBytes(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
SendBytes - common.SendBytes RPC handler
func (*Server) Sha3 ¶
func (server *Server) Sha3(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
Sha3 - common.Sha3 RPC handler
func (*Server) StringFetchCallReceiver ¶
func (server *Server) StringFetchCallReceiver(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
StringFetchCallReceiver - common.StringFetchCallReceiver RPC handler
func (*Server) StringStripParentheses ¶
func (server *Server) StringStripParentheses(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
StringStripParentheses - common.StringStripParentheses RPC handler
func (*Server) StringStripReceiverCall ¶
func (server *Server) StringStripReceiverCall(ctx context.Context, req *commonProto.GeneralRequest) (*commonProto.GeneralResponse, error)
StringStripReceiverCall - common.StringStripReceiverCall RPC handler