params

package
v0.0.0-...-79153e9 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	Key   string
	Value bool
}

Bool type Param

func (Bool) GetKey

func (b Bool) GetKey() string

GetKey returns key of Param

func (Bool) GetRaw

func (b Bool) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Bool) String

func (b Bool) String() string

String returns string representation of param value

type Duration

type Duration struct {
	Key   string
	Value time.Duration
}

Duration type Param

func (Duration) GetKey

func (d Duration) GetKey() string

GetKey returns key of Param

func (Duration) GetRaw

func (d Duration) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Duration) String

func (d Duration) String() string

String returns string representation of param value

type Error

type Error struct {
	Key   string
	Value error
}

Error type Param

func (Error) GetKey

func (e Error) GetKey() string

GetKey returns key of Param

func (Error) GetRaw

func (e Error) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Error) String

func (e Error) String() string

String returns string representation of param value

type Float64

type Float64 struct {
	Key   string
	Value float64
}

Float64 type Param

func (Float64) GetKey

func (f Float64) GetKey() string

GetKey returns key of Param

func (Float64) GetRaw

func (f Float64) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Float64) String

func (f Float64) String() string

String returns string representation of param value

type Int

type Int struct {
	Key   string
	Value int
}

Int type Param

func (Int) GetKey

func (i Int) GetKey() string

GetKey returns key of Param

func (Int) GetRaw

func (i Int) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Int) String

func (i Int) String() string

String returns string representation of param value

type Int64

type Int64 struct {
	Key   string
	Value int64
}

Int64 type Param

func (Int64) GetKey

func (i Int64) GetKey() string

GetKey returns key of Param

func (Int64) GetRaw

func (i Int64) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Int64) String

func (i Int64) String() string

String returns string representation of param value

type Nil

type Nil struct {
	Key string
}

Nil is Param with nil value

func (Nil) GetKey

func (n Nil) GetKey() string

GetKey returns key of Param

func (Nil) GetRaw

func (n Nil) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (Nil) String

func (n Nil) String() string

String returns string representation of param value

type String

type String struct {
	Key, Value string
}

String type Param

func (String) GetKey

func (s String) GetKey() string

GetKey returns key of Param

func (String) GetRaw

func (s String) GetRaw() interface{}

GetRaw returns value of Param as interface{}

func (String) String

func (s String) String() string

String returns string representation of param value

Jump to

Keyboard shortcuts

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