common

package
v0.0.0-...-c729bb3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

SendBytes - common.SendBytes RPC handler

func (*Server) Sha3

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

Jump to

Keyboard shortcuts

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