udwRpc2Demo

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demo_RunServer

func Demo_RunServer(addr string) (closer func())

func RunTest

func RunTest()

Types

type Demo_Client

type Demo_Client struct {
	// contains filtered or unexported fields
}

func Demo_NewClient

func Demo_NewClient(addr string) *Demo_Client

func (*Demo_Client) FnP

func (c *Demo_Client) FnP(fi1 string, fi2 string, fi3 string, fi4 []Tstruct) (fo1 string, fo2 string, fo3 string, RpcErr *udwRpc2.RpcError)

func (*Demo_Client) GetInt

func (c *Demo_Client) GetInt() (fo1 int, RpcErr *udwRpc2.RpcError)

func (*Demo_Client) GetName

func (c *Demo_Client) GetName() (fo1 string, RpcErr *udwRpc2.RpcError)

func (*Demo_Client) GetPeerIp

func (c *Demo_Client) GetPeerIp(fi1 string, fi2 string) (fo1 string, RpcErr *udwRpc2.RpcError)

func (*Demo_Client) IncreaseInt

func (c *Demo_Client) IncreaseInt() (RpcErr *udwRpc2.RpcError)

func (*Demo_Client) Panic

func (c *Demo_Client) Panic() (RpcErr *udwRpc2.RpcError)

func (*Demo_Client) SetName

func (c *Demo_Client) SetName(fi1 string) (RpcErr *udwRpc2.RpcError)

type Server

type Server struct{}

func (Server) FnP

func (Server) FnP(i1 string, i2 string, i3 string, SliceOfStruct []Tstruct) (o1 string, o2 string, o3 string)

func (Server) GetInt

func (Server) GetInt() int

func (Server) GetName

func (Server) GetName() string

func (Server) GetPeerIp

func (Server) GetPeerIp(p1 string, p2 string, ClientIp udwRpc2.PeerIp) string

func (Server) IncreaseInt

func (Server) IncreaseInt()

func (Server) Panic

func (Server) Panic()

func (Server) SetName

func (Server) SetName(v string)

type Tstruct

type Tstruct struct {
	Name string
}

Jump to

Keyboard shortcuts

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