rpc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Function1

func Function1(msg string, fail bool) (s string, err error)

func Function2

func Function2(
	b bool,
	i int,
	f float64,
	s string,
) (
	bool,
	int,
	float64,
	string,
)

Types

type TestClient

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

func NewTestClient

func NewTestClient(port string, services ...string) *TestClient

func (TestClient) Run

func (c TestClient) Run(t *testing.T)

type TestGoService

type TestGoService struct {
	*rpc.App
}

func NewTestGoService

func NewTestGoService(port string) *TestGoService

type TestStruct1

type TestStruct1 struct {
	B bool    `json:"b"`
	I int     `json:"i"`
	F float64 `json:"f"`
	S string  `json:"s"`
}

func Function4

func Function4(
	b bool,
	i int,
	f float64,
	s string,
) TestStruct1

type TestStruct2

type TestStruct2 struct {
	TestStruct1 `json:"struct1"`
}

func Function3

func Function3(struct1 *TestStruct2) *TestStruct2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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