Documentation ¶
Index ¶
- type HttpHandler
- type ID
- type Jsonb
- type Quantity
- func (b *Quantity) Add(o Quantity) error
- func (b *Quantity) Clone() Quantity
- func (b *Quantity) Cmp(o Quantity) int
- func (b *Quantity) Equals(o Quantity) bool
- func (b *Quantity) GetBigInt() *big.Int
- func (b *Quantity) IsZero() bool
- func (b *Quantity) Mul(o Quantity) error
- func (b *Quantity) Quo(o Quantity) error
- func (b *Quantity) Scan(value interface{}) error
- func (b *Quantity) Sub(o Quantity) error
- func (b *Quantity) Valid() bool
- func (b *Quantity) Value() (driver.Value, error)
- type SummaryInterval
- type Time
- type WorkerHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandler ¶
type Jsonb ¶
type Jsonb struct {
json.RawMessage
}
type Quantity ¶
func NewQuantity ¶
NewQuantity creates a new Quantity from a big.Int
func NewQuantityFromBytes ¶
NewQuantityFromBytes creates a new Quantity from bytes
func NewQuantityFromInt64 ¶
NewQuantityFromInt64 creates a new Quantity from an int64
type SummaryInterval ¶ added in v0.4.0
type SummaryInterval string
SummaryInterval type represents summary interval
const ( IntervalHourly SummaryInterval = "hour" IntervalDaily SummaryInterval = "day" )
func (SummaryInterval) Equal ¶ added in v0.4.0
func (s SummaryInterval) Equal(o SummaryInterval) bool
func (SummaryInterval) ToDuration ¶ added in v0.6.0
func (s SummaryInterval) ToDuration() (time.Duration, error)
func (SummaryInterval) Valid ¶ added in v0.4.0
func (s SummaryInterval) Valid() bool
type WorkerHandler ¶
type WorkerHandler interface {
Handle()
}
Click to show internal directories.
Click to hide internal directories.