Documentation ¶
Index ¶
- Variables
- func Decrypt(d, k []byte) ([]byte, error)
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int64(i int64) *int64
- func String(s string) *string
- type Duration
- type EData
- type Timestamp
- func (t Timestamp) MarshalBSONValue() (bsontype.Type, []byte, error)
- func (t Timestamp) MarshalJSON() ([]byte, error)
- func (t *Timestamp) Scan(src interface{}) error
- func (t *Timestamp) UnmarshalBSONValue(bType bsontype.Type, data []byte) error
- func (t *Timestamp) UnmarshalJSON(data []byte) error
- func (t Timestamp) Value() (driver.Value, error)
- type URL
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidKey = uerror.New(100, "invalid key")
)
Functions ¶
Types ¶
type Duration ¶
Duration can be used for "ns", "us" (or "µs"), "ms", "s", "m", "h" suffixs
func (Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
UnmarshalJSON for implementing the Unmarshaler interface
type EData ¶
type EData struct {
// contains filtered or unexported fields
}
EData for encrypted data
type Timestamp ¶
func (Timestamp) MarshalBSONValue ¶
func (Timestamp) MarshalJSON ¶
func (*Timestamp) UnmarshalBSONValue ¶
func (*Timestamp) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.