distobj

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistObjCtrl

type DistObjCtrl struct {
}

func GetDistObjCtrl

func GetDistObjCtrl() *DistObjCtrl

func (*DistObjCtrl) Init

func (o *DistObjCtrl) Init()

type TestDist

type TestDist interface {
	TestString(a, b string) string
	TestInt(a, b int) int
	TestBool(a, b bool) bool
	TestError(a, b int) (int, error)
	TestArray(a, b int) []int
	TestMap(a, b string) map[string]string
}

func GetTestDistProxy

func GetTestDistProxy(option ...distobj.Option) TestDist

type TestDistImpl

type TestDistImpl struct {
}

func (*TestDistImpl) TestArray

func (o *TestDistImpl) TestArray(a, b int) []int

func (*TestDistImpl) TestBool

func (o *TestDistImpl) TestBool(a, b bool) bool

func (*TestDistImpl) TestError

func (o *TestDistImpl) TestError(a, b int) (int, error)

func (*TestDistImpl) TestInt

func (o *TestDistImpl) TestInt(a, b int) int

func (*TestDistImpl) TestMap

func (o *TestDistImpl) TestMap(a, b string) map[string]string

func (*TestDistImpl) TestString

func (o *TestDistImpl) TestString(a, b string) string

type TestDistProxy

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

func (*TestDistProxy) TestArray

func (o *TestDistProxy) TestArray(a, b int) []int

func (*TestDistProxy) TestBool

func (o *TestDistProxy) TestBool(a, b bool) bool

func (*TestDistProxy) TestError

func (o *TestDistProxy) TestError(a, b int) (int, error)

func (*TestDistProxy) TestInt

func (o *TestDistProxy) TestInt(a, b int) int

func (*TestDistProxy) TestMap

func (o *TestDistProxy) TestMap(a, b string) map[string]string

func (*TestDistProxy) TestString

func (o *TestDistProxy) TestString(a, b string) string

type TestPayload

type TestPayload struct {
	StrA  string
	StrB  string
	IntA  int
	IntB  int
	BoolA bool
	BoolB bool
}

Jump to

Keyboard shortcuts

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