distobj

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueueName added in v0.1.22

func GetQueueName(iface interface{}, option Option) string

func Invoke

func Invoke(path string, config string, methodName string, params ...interface{}) ([]interface{}, error)

func Register added in v0.1.22

func Register(iface interface{}, obj interface{}, options ...Option) error

Types

type Option added in v0.1.22

type Option struct {
	Config    string
	NameSpace string
	NumWorker int
}

func GetDefaultOption added in v0.1.22

func GetDefaultOption() Option

type Request added in v0.1.22

type Request struct {
	MethodName string
	Params     []interface{}
}

type Response added in v0.1.22

type Response struct {
	Results []interface{}
}

type StringError added in v0.1.22

type StringError struct {
	Msg string
}

Jump to

Keyboard shortcuts

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