qrpc

package
v0.0.0-...-4155a33 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 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 QArg

type QArg struct {
	Flag int
	Code int
	Msg  string
	Data interface{}
	VN   int
	V    []interface{}
	T    []reflect.Kind
}

func (*QArg) DoError

func (o *QArg) DoError(obj interface{}, stackskip int) *QArg

func (*QArg) Get

func (o *QArg) Get(index int) (interface{}, error)

func (*QArg) GetBool

func (o *QArg) GetBool(index int, def bool) (bool, error)

func (*QArg) GetFloat32

func (o *QArg) GetFloat32(index int, def float32) (float32, error)

func (*QArg) GetFloat64

func (o *QArg) GetFloat64(index int, def float64) (float64, error)

func (*QArg) GetInt

func (o *QArg) GetInt(index int, def int) (int, error)

func (*QArg) GetInt64

func (o *QArg) GetInt64(index int, def int64) (int64, error)

func (*QArg) GetMap

func (o *QArg) GetMap(index int, def bool) (map[string]interface{}, error)

func (*QArg) GetSlice

func (o *QArg) GetSlice(index int) ([]interface{}, error)

func (*QArg) GetSliently

func (o *QArg) GetSliently(index int) interface{}

func (*QArg) GetSringMap

func (o *QArg) GetSringMap(index int, def bool) (map[string]string, error)

func (*QArg) GetStr

func (o *QArg) GetStr(index int, def string) (string, error)

func (*QArg) GetStringSlice

func (o *QArg) GetStringSlice(index int) ([]string, error)

func (*QArg) GetTime

func (o *QArg) GetTime(index int, def *time.Time) (*time.Time, error)

func (*QArg) Push

func (o *QArg) Push(v interface{}) *QArg

func (*QArg) Pushes

func (o *QArg) Pushes(v ...interface{}) *QArg

func (*QArg) Recover

func (o *QArg) Recover()

func (*QArg) Set

func (o *QArg) Set(index int, val interface{}) *QArg

Jump to

Keyboard shortcuts

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