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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueueName added in v0.0.28

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.0.28

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

Types

type Option added in v0.0.28

type Option struct {
	Config    string
	NameSpace string
	NumWorker int
}

func GetDefaultOption added in v0.0.28

func GetDefaultOption() Option

type Request added in v0.0.28

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

type Response added in v0.0.28

type Response struct {
	Results []interface{}
}

type StringError added in v0.0.28

type StringError struct {
	Msg string
}

Jump to

Keyboard shortcuts

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