distobj

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImpl

func AddImpl(prefix, className string, impl interface{})

func Invoke

func Invoke(prefix, className, methodName string, params ...interface{}) ([]interface{}, error)

func ToArr

func ToArr(val interface{}, elmType string) interface{}

func ToBool

func ToBool(val interface{}) bool

func ToErr

func ToErr(val interface{}) error

func ToFloat32

func ToFloat32(val interface{}) float32

func ToFloat64

func ToFloat64(val interface{}) float64

func ToInt

func ToInt(val interface{}) int

func ToInt16

func ToInt16(val interface{}) int16

func ToInt32

func ToInt32(val interface{}) int32

func ToInt64

func ToInt64(val interface{}) int64

func ToMap

func ToMap(val interface{}, keyType string, valType string) interface{}

func ToStr

func ToStr(val interface{}) string

Types

type DistObjReqMsg

type DistObjReqMsg struct {
	Params []interface{}
}

type DistObjResMsg

type DistObjResMsg struct {
	IsErr  bool
	ErrMsg string
	Result []interface{}
}

Jump to

Keyboard shortcuts

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