cryptypes

package
v0.0.0-...-93fbde9 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package cryptypes provides the supported cryptographic types supperted by gormcrypto out of the box

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedAny

type EncryptedAny struct {
	Field
	Raw interface{}
}

EncryptedAny supports encrypting Any data

func (*EncryptedAny) Scan

func (s *EncryptedAny) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedAny value

func (EncryptedAny) Value

func (s EncryptedAny) Value() (driver.Value, error)

Value converts an initialized EncryptedAny value into a value that can safely be stored in the DB

type EncryptedBool

type EncryptedBool struct {
	Field
	Raw bool
}

EncryptedBool supports encrypting Bool data

func (*EncryptedBool) Scan

func (s *EncryptedBool) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedBool value

func (EncryptedBool) Value

func (s EncryptedBool) Value() (driver.Value, error)

Value converts an initialized EncryptedBool value into a value that can safely be stored in the DB

type EncryptedByte

type EncryptedByte struct {
	Field
	Raw byte
}

EncryptedByte supports encrypting Byte data

func (*EncryptedByte) Scan

func (s *EncryptedByte) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedByte value

func (EncryptedByte) Value

func (s EncryptedByte) Value() (driver.Value, error)

Value converts an initialized EncryptedByte value into a value that can safely be stored in the DB

type EncryptedByteSlice

type EncryptedByteSlice struct {
	Field
	Raw []byte
}

EncryptedByteSlice supports encrypting ByteSlice data

func (*EncryptedByteSlice) Scan

func (s *EncryptedByteSlice) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedByteSlice value

func (EncryptedByteSlice) Value

func (s EncryptedByteSlice) Value() (driver.Value, error)

Value converts an initialized EncryptedByteSlice value into a value that can safely be stored in the DB

type EncryptedComplex128

type EncryptedComplex128 struct {
	Field
	Raw complex128
}

EncryptedComplex128 supports encrypting Complex128 data

func (*EncryptedComplex128) Scan

func (s *EncryptedComplex128) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedComplex128 value

func (EncryptedComplex128) Value

func (s EncryptedComplex128) Value() (driver.Value, error)

Value converts an initialized EncryptedComplex128 value into a value that can safely be stored in the DB

type EncryptedComplex64

type EncryptedComplex64 struct {
	Field
	Raw complex64
}

EncryptedComplex64 supports encrypting Complex64 data

func (*EncryptedComplex64) Scan

func (s *EncryptedComplex64) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedComplex64 value

func (EncryptedComplex64) Value

func (s EncryptedComplex64) Value() (driver.Value, error)

Value converts an initialized EncryptedComplex64 value into a value that can safely be stored in the DB

type EncryptedFloat32

type EncryptedFloat32 struct {
	Field
	Raw float32
}

EncryptedFloat32 supports encrypting Float32 data

func (*EncryptedFloat32) Scan

func (s *EncryptedFloat32) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedFloat32 value

func (EncryptedFloat32) Value

func (s EncryptedFloat32) Value() (driver.Value, error)

Value converts an initialized EncryptedFloat32 value into a value that can safely be stored in the DB

type EncryptedFloat64

type EncryptedFloat64 struct {
	Field
	Raw float64
}

EncryptedFloat64 supports encrypting Float64 data

func (*EncryptedFloat64) Scan

func (s *EncryptedFloat64) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedFloat64 value

func (EncryptedFloat64) Value

func (s EncryptedFloat64) Value() (driver.Value, error)

Value converts an initialized EncryptedFloat64 value into a value that can safely be stored in the DB

type EncryptedInt

type EncryptedInt struct {
	Field
	Raw int
}

EncryptedInt supports encrypting Int data

func (*EncryptedInt) Scan

func (s *EncryptedInt) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedInt value

func (EncryptedInt) Value

func (s EncryptedInt) Value() (driver.Value, error)

Value converts an initialized EncryptedInt value into a value that can safely be stored in the DB

type EncryptedInt16

type EncryptedInt16 struct {
	Field
	Raw int16
}

EncryptedInt16 supports encrypting Int16 data

func (*EncryptedInt16) Scan

func (s *EncryptedInt16) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedInt16 value

func (EncryptedInt16) Value

func (s EncryptedInt16) Value() (driver.Value, error)

Value converts an initialized EncryptedInt16 value into a value that can safely be stored in the DB

type EncryptedInt32

type EncryptedInt32 struct {
	Field
	Raw int32
}

EncryptedInt32 supports encrypting Int32 data

func (*EncryptedInt32) Scan

func (s *EncryptedInt32) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedInt32 value

func (EncryptedInt32) Value

func (s EncryptedInt32) Value() (driver.Value, error)

Value converts an initialized EncryptedInt32 value into a value that can safely be stored in the DB

type EncryptedInt64

type EncryptedInt64 struct {
	Field
	Raw int64
}

EncryptedInt64 supports encrypting Int64 data

func (*EncryptedInt64) Scan

func (s *EncryptedInt64) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedInt64 value

func (EncryptedInt64) Value

func (s EncryptedInt64) Value() (driver.Value, error)

Value converts an initialized EncryptedInt64 value into a value that can safely be stored in the DB

type EncryptedInt8

type EncryptedInt8 struct {
	Field
	Raw int8
}

EncryptedInt8 supports encrypting Int8 data

func (*EncryptedInt8) Scan

func (s *EncryptedInt8) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedInt8 value

func (EncryptedInt8) Value

func (s EncryptedInt8) Value() (driver.Value, error)

Value converts an initialized EncryptedInt8 value into a value that can safely be stored in the DB

type EncryptedRune

type EncryptedRune struct {
	Field
	Raw rune
}

EncryptedRune supports encrypting Rune data

func (*EncryptedRune) Scan

func (s *EncryptedRune) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedRune value

func (EncryptedRune) Value

func (s EncryptedRune) Value() (driver.Value, error)

Value converts an initialized EncryptedRune value into a value that can safely be stored in the DB

type EncryptedRuneSlice

type EncryptedRuneSlice struct {
	Field
	Raw []rune
}

EncryptedRuneSlice supports encrypting RuneSlice data

func (*EncryptedRuneSlice) Scan

func (s *EncryptedRuneSlice) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedRuneSlice value

func (EncryptedRuneSlice) Value

func (s EncryptedRuneSlice) Value() (driver.Value, error)

Value converts an initialized EncryptedRuneSlice value into a value that can safely be stored in the DB

type EncryptedString

type EncryptedString struct {
	Field
	Raw string
}

EncryptedString supports encrypting String data

func (*EncryptedString) Scan

func (s *EncryptedString) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedString value

func (EncryptedString) Value

func (s EncryptedString) Value() (driver.Value, error)

Value converts an initialized EncryptedString value into a value that can safely be stored in the DB

type EncryptedTime

type EncryptedTime struct {
	Field
	Raw time.Time
}

EncryptedTime supports encrypting Time data

func (*EncryptedTime) Scan

func (s *EncryptedTime) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedTime value

func (EncryptedTime) Value

func (s EncryptedTime) Value() (driver.Value, error)

Value converts an initialized EncryptedTime value into a value that can safely be stored in the DB

type EncryptedUint

type EncryptedUint struct {
	Field
	Raw uint
}

EncryptedUint supports encrypting Uint data

func (*EncryptedUint) Scan

func (s *EncryptedUint) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedUint value

func (EncryptedUint) Value

func (s EncryptedUint) Value() (driver.Value, error)

Value converts an initialized EncryptedUint value into a value that can safely be stored in the DB

type EncryptedUint16

type EncryptedUint16 struct {
	Field
	Raw uint16
}

EncryptedUint16 supports encrypting Uint16 data

func (*EncryptedUint16) Scan

func (s *EncryptedUint16) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedUint16 value

func (EncryptedUint16) Value

func (s EncryptedUint16) Value() (driver.Value, error)

Value converts an initialized EncryptedUint16 value into a value that can safely be stored in the DB

type EncryptedUint32

type EncryptedUint32 struct {
	Field
	Raw uint32
}

EncryptedUint32 supports encrypting Uint32 data

func (*EncryptedUint32) Scan

func (s *EncryptedUint32) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedUint32 value

func (EncryptedUint32) Value

func (s EncryptedUint32) Value() (driver.Value, error)

Value converts an initialized EncryptedUint32 value into a value that can safely be stored in the DB

type EncryptedUint64

type EncryptedUint64 struct {
	Field
	Raw uint64
}

EncryptedUint64 supports encrypting Uint64 data

func (*EncryptedUint64) Scan

func (s *EncryptedUint64) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedUint64 value

func (EncryptedUint64) Value

func (s EncryptedUint64) Value() (driver.Value, error)

Value converts an initialized EncryptedUint64 value into a value that can safely be stored in the DB

type EncryptedUint8

type EncryptedUint8 struct {
	Field
	Raw uint8
}

EncryptedUint8 supports encrypting Uint8 data

func (*EncryptedUint8) Scan

func (s *EncryptedUint8) Scan(value interface{}) error

Scan converts the value from the DB into a usable EncryptedUint8 value

func (EncryptedUint8) Value

func (s EncryptedUint8) Value() (driver.Value, error)

Value converts an initialized EncryptedUint8 value into a value that can safely be stored in the DB

type Field

type Field struct{}

Field defines some common features of every supported type, specifically those which are implemented the same way on every type.

func (Field) GormDBDataType

func (Field) GormDBDataType(db *gorm.DB, field *schema.Field) string

GormDBDataType indicates the actual type hint for GORM to use in migrations, based on the connected server dialect

func (Field) GormDataType

func (Field) GormDataType() string

GormDataType indicates the default type hint for GORM to use in migrations

type NullEncryptedAny

type NullEncryptedAny struct {
	Field
	Raw   interface{}
	Empty bool
}

NullEncryptedAny supports encrypting nullable Any data

func (*NullEncryptedAny) Scan

func (s *NullEncryptedAny) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedAny value

func (NullEncryptedAny) Value

func (s NullEncryptedAny) Value() (driver.Value, error)

Value converts an initialized NullEncryptedAny value into a value that can safely be stored in the DB

type NullEncryptedBool

type NullEncryptedBool struct {
	Field
	Raw   bool
	Empty bool
}

NullEncryptedBool supports encrypting nullable Bool data

func (*NullEncryptedBool) Scan

func (s *NullEncryptedBool) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedBool value

func (NullEncryptedBool) Value

func (s NullEncryptedBool) Value() (driver.Value, error)

Value converts an initialized NullEncryptedBool value into a value that can safely be stored in the DB

type NullEncryptedByte

type NullEncryptedByte struct {
	Field
	Raw   byte
	Empty bool
}

NullEncryptedByte supports encrypting nullable Byte data

func (*NullEncryptedByte) Scan

func (s *NullEncryptedByte) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedByte value

func (NullEncryptedByte) Value

func (s NullEncryptedByte) Value() (driver.Value, error)

Value converts an initialized NullEncryptedByte value into a value that can safely be stored in the DB

type NullEncryptedByteSlice

type NullEncryptedByteSlice struct {
	Field
	Raw   []byte
	Empty bool
}

NullEncryptedByteSlice supports encrypting nullable ByteSlice data

func (*NullEncryptedByteSlice) Scan

func (s *NullEncryptedByteSlice) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedByteSlice value

func (NullEncryptedByteSlice) Value

Value converts an initialized NullEncryptedByteSlice value into a value that can safely be stored in the DB

type NullEncryptedComplex128

type NullEncryptedComplex128 struct {
	Field
	Raw   complex128
	Empty bool
}

NullEncryptedComplex128 supports encrypting nullable Complex128 data

func (*NullEncryptedComplex128) Scan

func (s *NullEncryptedComplex128) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedComplex128 value

func (NullEncryptedComplex128) Value

Value converts an initialized NullEncryptedComplex128 value into a value that can safely be stored in the DB

type NullEncryptedComplex64

type NullEncryptedComplex64 struct {
	Field
	Raw   complex64
	Empty bool
}

NullEncryptedComplex64 supports encrypting nullable Complex64 data

func (*NullEncryptedComplex64) Scan

func (s *NullEncryptedComplex64) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedComplex64 value

func (NullEncryptedComplex64) Value

Value converts an initialized NullEncryptedComplex64 value into a value that can safely be stored in the DB

type NullEncryptedFloat32

type NullEncryptedFloat32 struct {
	Field
	Raw   float32
	Empty bool
}

NullEncryptedFloat32 supports encrypting nullable Float32 data

func (*NullEncryptedFloat32) Scan

func (s *NullEncryptedFloat32) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedFloat32 value

func (NullEncryptedFloat32) Value

func (s NullEncryptedFloat32) Value() (driver.Value, error)

Value converts an initialized NullEncryptedFloat32 value into a value that can safely be stored in the DB

type NullEncryptedFloat64

type NullEncryptedFloat64 struct {
	Field
	Raw   float64
	Empty bool
}

NullEncryptedFloat64 supports encrypting nullable Float64 data

func (*NullEncryptedFloat64) Scan

func (s *NullEncryptedFloat64) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedFloat64 value

func (NullEncryptedFloat64) Value

func (s NullEncryptedFloat64) Value() (driver.Value, error)

Value converts an initialized NullEncryptedFloat64 value into a value that can safely be stored in the DB

type NullEncryptedInt

type NullEncryptedInt struct {
	Field
	Raw   int
	Empty bool
}

NullEncryptedInt supports encrypting nullable Int data

func (*NullEncryptedInt) Scan

func (s *NullEncryptedInt) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedInt value

func (NullEncryptedInt) Value

func (s NullEncryptedInt) Value() (driver.Value, error)

Value converts an initialized NullEncryptedInt value into a value that can safely be stored in the DB

type NullEncryptedInt16

type NullEncryptedInt16 struct {
	Field
	Raw   int16
	Empty bool
}

NullEncryptedInt16 supports encrypting nullable Int16 data

func (*NullEncryptedInt16) Scan

func (s *NullEncryptedInt16) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedInt16 value

func (NullEncryptedInt16) Value

func (s NullEncryptedInt16) Value() (driver.Value, error)

Value converts an initialized NullEncryptedInt16 value into a value that can safely be stored in the DB

type NullEncryptedInt32

type NullEncryptedInt32 struct {
	Field
	Raw   int32
	Empty bool
}

NullEncryptedInt32 supports encrypting nullable Int32 data

func (*NullEncryptedInt32) Scan

func (s *NullEncryptedInt32) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedInt32 value

func (NullEncryptedInt32) Value

func (s NullEncryptedInt32) Value() (driver.Value, error)

Value converts an initialized NullEncryptedInt32 value into a value that can safely be stored in the DB

type NullEncryptedInt64

type NullEncryptedInt64 struct {
	Field
	Raw   int64
	Empty bool
}

NullEncryptedInt64 supports encrypting nullable Int64 data

func (*NullEncryptedInt64) Scan

func (s *NullEncryptedInt64) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedInt64 value

func (NullEncryptedInt64) Value

func (s NullEncryptedInt64) Value() (driver.Value, error)

Value converts an initialized NullEncryptedInt64 value into a value that can safely be stored in the DB

type NullEncryptedInt8

type NullEncryptedInt8 struct {
	Field
	Raw   int8
	Empty bool
}

NullEncryptedInt8 supports encrypting nullable Int8 data

func (*NullEncryptedInt8) Scan

func (s *NullEncryptedInt8) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedInt8 value

func (NullEncryptedInt8) Value

func (s NullEncryptedInt8) Value() (driver.Value, error)

Value converts an initialized NullEncryptedInt8 value into a value that can safely be stored in the DB

type NullEncryptedRune

type NullEncryptedRune struct {
	Field
	Raw   rune
	Empty bool
}

NullEncryptedRune supports encrypting nullable Rune data

func (*NullEncryptedRune) Scan

func (s *NullEncryptedRune) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedRune value

func (NullEncryptedRune) Value

func (s NullEncryptedRune) Value() (driver.Value, error)

Value converts an initialized NullEncryptedRune value into a value that can safely be stored in the DB

type NullEncryptedRuneSlice

type NullEncryptedRuneSlice struct {
	Field
	Raw   []rune
	Empty bool
}

NullEncryptedRuneSlice supports encrypting nullable RuneSlice data

func (*NullEncryptedRuneSlice) Scan

func (s *NullEncryptedRuneSlice) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedRuneSlice value

func (NullEncryptedRuneSlice) Value

Value converts an initialized NullEncryptedRuneSlice value into a value that can safely be stored in the DB

type NullEncryptedString

type NullEncryptedString struct {
	Field
	Raw   string
	Empty bool
}

NullEncryptedString supports encrypting nullable String data

func (*NullEncryptedString) Scan

func (s *NullEncryptedString) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedString value

func (NullEncryptedString) Value

func (s NullEncryptedString) Value() (driver.Value, error)

Value converts an initialized NullEncryptedString value into a value that can safely be stored in the DB

type NullEncryptedTime

type NullEncryptedTime struct {
	Field
	Raw   time.Time
	Empty bool
}

NullEncryptedTime supports encrypting nullable Time data

func (*NullEncryptedTime) Scan

func (s *NullEncryptedTime) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedTime value

func (NullEncryptedTime) Value

func (s NullEncryptedTime) Value() (driver.Value, error)

Value converts an initialized NullEncryptedTime value into a value that can safely be stored in the DB

type NullEncryptedUint

type NullEncryptedUint struct {
	Field
	Raw   uint
	Empty bool
}

NullEncryptedUint supports encrypting nullable Uint data

func (*NullEncryptedUint) Scan

func (s *NullEncryptedUint) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedUint value

func (NullEncryptedUint) Value

func (s NullEncryptedUint) Value() (driver.Value, error)

Value converts an initialized NullEncryptedUint value into a value that can safely be stored in the DB

type NullEncryptedUint16

type NullEncryptedUint16 struct {
	Field
	Raw   uint16
	Empty bool
}

NullEncryptedUint16 supports encrypting nullable Uint16 data

func (*NullEncryptedUint16) Scan

func (s *NullEncryptedUint16) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedUint16 value

func (NullEncryptedUint16) Value

func (s NullEncryptedUint16) Value() (driver.Value, error)

Value converts an initialized NullEncryptedUint16 value into a value that can safely be stored in the DB

type NullEncryptedUint32

type NullEncryptedUint32 struct {
	Field
	Raw   uint32
	Empty bool
}

NullEncryptedUint32 supports encrypting nullable Uint32 data

func (*NullEncryptedUint32) Scan

func (s *NullEncryptedUint32) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedUint32 value

func (NullEncryptedUint32) Value

func (s NullEncryptedUint32) Value() (driver.Value, error)

Value converts an initialized NullEncryptedUint32 value into a value that can safely be stored in the DB

type NullEncryptedUint64

type NullEncryptedUint64 struct {
	Field
	Raw   uint64
	Empty bool
}

NullEncryptedUint64 supports encrypting nullable Uint64 data

func (*NullEncryptedUint64) Scan

func (s *NullEncryptedUint64) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedUint64 value

func (NullEncryptedUint64) Value

func (s NullEncryptedUint64) Value() (driver.Value, error)

Value converts an initialized NullEncryptedUint64 value into a value that can safely be stored in the DB

type NullEncryptedUint8

type NullEncryptedUint8 struct {
	Field
	Raw   uint8
	Empty bool
}

NullEncryptedUint8 supports encrypting nullable Uint8 data

func (*NullEncryptedUint8) Scan

func (s *NullEncryptedUint8) Scan(value interface{}) error

Scan converts the value from the DB into a usable NullEncryptedUint8 value

func (NullEncryptedUint8) Value

func (s NullEncryptedUint8) Value() (driver.Value, error)

Value converts an initialized NullEncryptedUint8 value into a value that can safely be stored in the DB

type NullSignedAny

type NullSignedAny struct {
	Field
	Raw   interface{}
	Empty bool
	Valid bool
}

NullSignedAny supports signing nullable Any data

func (*NullSignedAny) Scan

func (s *NullSignedAny) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedAny value

func (NullSignedAny) Value

func (s NullSignedAny) Value() (driver.Value, error)

Value converts an initialized NullSignedAny value into a value that can safely be stored in the DB

type NullSignedBool

type NullSignedBool struct {
	Field
	Raw   bool
	Empty bool
	Valid bool
}

NullSignedBool supports signing nullable Bool data

func (*NullSignedBool) Scan

func (s *NullSignedBool) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedBool value

func (NullSignedBool) Value

func (s NullSignedBool) Value() (driver.Value, error)

Value converts an initialized NullSignedBool value into a value that can safely be stored in the DB

type NullSignedByte

type NullSignedByte struct {
	Field
	Raw   byte
	Empty bool
	Valid bool
}

NullSignedByte supports signing nullable Byte data

func (*NullSignedByte) Scan

func (s *NullSignedByte) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedByte value

func (NullSignedByte) Value

func (s NullSignedByte) Value() (driver.Value, error)

Value converts an initialized NullSignedByte value into a value that can safely be stored in the DB

type NullSignedByteSlice

type NullSignedByteSlice struct {
	Field
	Raw   []byte
	Empty bool
	Valid bool
}

NullSignedByteSlice supports signing nullable ByteSlice data

func (*NullSignedByteSlice) Scan

func (s *NullSignedByteSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedByteSlice value

func (NullSignedByteSlice) Value

func (s NullSignedByteSlice) Value() (driver.Value, error)

Value converts an initialized NullSignedByteSlice value into a value that can safely be stored in the DB

type NullSignedComplex128

type NullSignedComplex128 struct {
	Field
	Raw   complex128
	Empty bool
	Valid bool
}

NullSignedComplex128 supports signing nullable Complex128 data

func (*NullSignedComplex128) Scan

func (s *NullSignedComplex128) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedComplex128 value

func (NullSignedComplex128) Value

func (s NullSignedComplex128) Value() (driver.Value, error)

Value converts an initialized NullSignedComplex128 value into a value that can safely be stored in the DB

type NullSignedComplex64

type NullSignedComplex64 struct {
	Field
	Raw   complex64
	Empty bool
	Valid bool
}

NullSignedComplex64 supports signing nullable Complex64 data

func (*NullSignedComplex64) Scan

func (s *NullSignedComplex64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedComplex64 value

func (NullSignedComplex64) Value

func (s NullSignedComplex64) Value() (driver.Value, error)

Value converts an initialized NullSignedComplex64 value into a value that can safely be stored in the DB

type NullSignedEncryptedAny

type NullSignedEncryptedAny struct {
	Field
	Raw   interface{}
	Empty bool
	Valid bool
}

NullSignedEncryptedAny supports signing and encrypting nullable Any data

func (*NullSignedEncryptedAny) Scan

func (s *NullSignedEncryptedAny) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedAny value

func (NullSignedEncryptedAny) Value

Value converts an initialized NullSignedEncryptedAny value into a value that can safely be stored in the DB

type NullSignedEncryptedBool

type NullSignedEncryptedBool struct {
	Field
	Raw   bool
	Empty bool
	Valid bool
}

NullSignedEncryptedBool supports signing and encrypting nullable Bool data

func (*NullSignedEncryptedBool) Scan

func (s *NullSignedEncryptedBool) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedBool value

func (NullSignedEncryptedBool) Value

Value converts an initialized NullSignedEncryptedBool value into a value that can safely be stored in the DB

type NullSignedEncryptedByte

type NullSignedEncryptedByte struct {
	Field
	Raw   byte
	Empty bool
	Valid bool
}

NullSignedEncryptedByte supports signing and encrypting nullable Byte data

func (*NullSignedEncryptedByte) Scan

func (s *NullSignedEncryptedByte) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedByte value

func (NullSignedEncryptedByte) Value

Value converts an initialized NullSignedEncryptedByte value into a value that can safely be stored in the DB

type NullSignedEncryptedByteSlice

type NullSignedEncryptedByteSlice struct {
	Field
	Raw   []byte
	Empty bool
	Valid bool
}

NullSignedEncryptedByteSlice supports signing and encrypting nullable ByteSlice data

func (*NullSignedEncryptedByteSlice) Scan

func (s *NullSignedEncryptedByteSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedByteSlice value

func (NullSignedEncryptedByteSlice) Value

Value converts an initialized NullSignedEncryptedByteSlice value into a value that can safely be stored in the DB

type NullSignedEncryptedComplex128

type NullSignedEncryptedComplex128 struct {
	Field
	Raw   complex128
	Empty bool
	Valid bool
}

NullSignedEncryptedComplex128 supports signing and encrypting nullable Complex128 data

func (*NullSignedEncryptedComplex128) Scan

func (s *NullSignedEncryptedComplex128) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedComplex128 value

func (NullSignedEncryptedComplex128) Value

Value converts an initialized NullSignedEncryptedComplex128 value into a value that can safely be stored in the DB

type NullSignedEncryptedComplex64

type NullSignedEncryptedComplex64 struct {
	Field
	Raw   complex64
	Empty bool
	Valid bool
}

NullSignedEncryptedComplex64 supports signing and encrypting nullable Complex64 data

func (*NullSignedEncryptedComplex64) Scan

func (s *NullSignedEncryptedComplex64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedComplex64 value

func (NullSignedEncryptedComplex64) Value

Value converts an initialized NullSignedEncryptedComplex64 value into a value that can safely be stored in the DB

type NullSignedEncryptedFloat32

type NullSignedEncryptedFloat32 struct {
	Field
	Raw   float32
	Empty bool
	Valid bool
}

NullSignedEncryptedFloat32 supports signing and encrypting nullable Float32 data

func (*NullSignedEncryptedFloat32) Scan

func (s *NullSignedEncryptedFloat32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedFloat32 value

func (NullSignedEncryptedFloat32) Value

Value converts an initialized NullSignedEncryptedFloat32 value into a value that can safely be stored in the DB

type NullSignedEncryptedFloat64

type NullSignedEncryptedFloat64 struct {
	Field
	Raw   float64
	Empty bool
	Valid bool
}

NullSignedEncryptedFloat64 supports signing and encrypting nullable Float64 data

func (*NullSignedEncryptedFloat64) Scan

func (s *NullSignedEncryptedFloat64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedFloat64 value

func (NullSignedEncryptedFloat64) Value

Value converts an initialized NullSignedEncryptedFloat64 value into a value that can safely be stored in the DB

type NullSignedEncryptedInt

type NullSignedEncryptedInt struct {
	Field
	Raw   int
	Empty bool
	Valid bool
}

NullSignedEncryptedInt supports signing and encrypting nullable Int data

func (*NullSignedEncryptedInt) Scan

func (s *NullSignedEncryptedInt) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedInt value

func (NullSignedEncryptedInt) Value

Value converts an initialized NullSignedEncryptedInt value into a value that can safely be stored in the DB

type NullSignedEncryptedInt16

type NullSignedEncryptedInt16 struct {
	Field
	Raw   int16
	Empty bool
	Valid bool
}

NullSignedEncryptedInt16 supports signing and encrypting nullable Int16 data

func (*NullSignedEncryptedInt16) Scan

func (s *NullSignedEncryptedInt16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedInt16 value

func (NullSignedEncryptedInt16) Value

Value converts an initialized NullSignedEncryptedInt16 value into a value that can safely be stored in the DB

type NullSignedEncryptedInt32

type NullSignedEncryptedInt32 struct {
	Field
	Raw   int32
	Empty bool
	Valid bool
}

NullSignedEncryptedInt32 supports signing and encrypting nullable Int32 data

func (*NullSignedEncryptedInt32) Scan

func (s *NullSignedEncryptedInt32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedInt32 value

func (NullSignedEncryptedInt32) Value

Value converts an initialized NullSignedEncryptedInt32 value into a value that can safely be stored in the DB

type NullSignedEncryptedInt64

type NullSignedEncryptedInt64 struct {
	Field
	Raw   int64
	Empty bool
	Valid bool
}

NullSignedEncryptedInt64 supports signing and encrypting nullable Int64 data

func (*NullSignedEncryptedInt64) Scan

func (s *NullSignedEncryptedInt64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedInt64 value

func (NullSignedEncryptedInt64) Value

Value converts an initialized NullSignedEncryptedInt64 value into a value that can safely be stored in the DB

type NullSignedEncryptedInt8

type NullSignedEncryptedInt8 struct {
	Field
	Raw   int8
	Empty bool
	Valid bool
}

NullSignedEncryptedInt8 supports signing and encrypting nullable Int8 data

func (*NullSignedEncryptedInt8) Scan

func (s *NullSignedEncryptedInt8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedInt8 value

func (NullSignedEncryptedInt8) Value

Value converts an initialized NullSignedEncryptedInt8 value into a value that can safely be stored in the DB

type NullSignedEncryptedRune

type NullSignedEncryptedRune struct {
	Field
	Raw   rune
	Empty bool
	Valid bool
}

NullSignedEncryptedRune supports signing and encrypting nullable Rune data

func (*NullSignedEncryptedRune) Scan

func (s *NullSignedEncryptedRune) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedRune value

func (NullSignedEncryptedRune) Value

Value converts an initialized NullSignedEncryptedRune value into a value that can safely be stored in the DB

type NullSignedEncryptedRuneSlice

type NullSignedEncryptedRuneSlice struct {
	Field
	Raw   []rune
	Empty bool
	Valid bool
}

NullSignedEncryptedRuneSlice supports signing and encrypting nullable RuneSlice data

func (*NullSignedEncryptedRuneSlice) Scan

func (s *NullSignedEncryptedRuneSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedRuneSlice value

func (NullSignedEncryptedRuneSlice) Value

Value converts an initialized NullSignedEncryptedRuneSlice value into a value that can safely be stored in the DB

type NullSignedEncryptedString

type NullSignedEncryptedString struct {
	Field
	Raw   string
	Empty bool
	Valid bool
}

NullSignedEncryptedString supports signing and encrypting nullable String data

func (*NullSignedEncryptedString) Scan

func (s *NullSignedEncryptedString) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedString value

func (NullSignedEncryptedString) Value

Value converts an initialized NullSignedEncryptedString value into a value that can safely be stored in the DB

type NullSignedEncryptedTime

type NullSignedEncryptedTime struct {
	Field
	Raw   time.Time
	Empty bool
	Valid bool
}

NullSignedEncryptedTime supports signing and encrypting nullable Time data

func (*NullSignedEncryptedTime) Scan

func (s *NullSignedEncryptedTime) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedTime value

func (NullSignedEncryptedTime) Value

Value converts an initialized NullSignedEncryptedTime value into a value that can safely be stored in the DB

type NullSignedEncryptedUint

type NullSignedEncryptedUint struct {
	Field
	Raw   uint
	Empty bool
	Valid bool
}

NullSignedEncryptedUint supports signing and encrypting nullable Uint data

func (*NullSignedEncryptedUint) Scan

func (s *NullSignedEncryptedUint) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedUint value

func (NullSignedEncryptedUint) Value

Value converts an initialized NullSignedEncryptedUint value into a value that can safely be stored in the DB

type NullSignedEncryptedUint16

type NullSignedEncryptedUint16 struct {
	Field
	Raw   uint16
	Empty bool
	Valid bool
}

NullSignedEncryptedUint16 supports signing and encrypting nullable Uint16 data

func (*NullSignedEncryptedUint16) Scan

func (s *NullSignedEncryptedUint16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedUint16 value

func (NullSignedEncryptedUint16) Value

Value converts an initialized NullSignedEncryptedUint16 value into a value that can safely be stored in the DB

type NullSignedEncryptedUint32

type NullSignedEncryptedUint32 struct {
	Field
	Raw   uint32
	Empty bool
	Valid bool
}

NullSignedEncryptedUint32 supports signing and encrypting nullable Uint32 data

func (*NullSignedEncryptedUint32) Scan

func (s *NullSignedEncryptedUint32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedUint32 value

func (NullSignedEncryptedUint32) Value

Value converts an initialized NullSignedEncryptedUint32 value into a value that can safely be stored in the DB

type NullSignedEncryptedUint64

type NullSignedEncryptedUint64 struct {
	Field
	Raw   uint64
	Empty bool
	Valid bool
}

NullSignedEncryptedUint64 supports signing and encrypting nullable Uint64 data

func (*NullSignedEncryptedUint64) Scan

func (s *NullSignedEncryptedUint64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedUint64 value

func (NullSignedEncryptedUint64) Value

Value converts an initialized NullSignedEncryptedUint64 value into a value that can safely be stored in the DB

type NullSignedEncryptedUint8

type NullSignedEncryptedUint8 struct {
	Field
	Raw   uint8
	Empty bool
	Valid bool
}

NullSignedEncryptedUint8 supports signing and encrypting nullable Uint8 data

func (*NullSignedEncryptedUint8) Scan

func (s *NullSignedEncryptedUint8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedEncryptedUint8 value

func (NullSignedEncryptedUint8) Value

Value converts an initialized NullSignedEncryptedUint8 value into a value that can safely be stored in the DB

type NullSignedFloat32

type NullSignedFloat32 struct {
	Field
	Raw   float32
	Empty bool
	Valid bool
}

NullSignedFloat32 supports signing nullable Float32 data

func (*NullSignedFloat32) Scan

func (s *NullSignedFloat32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedFloat32 value

func (NullSignedFloat32) Value

func (s NullSignedFloat32) Value() (driver.Value, error)

Value converts an initialized NullSignedFloat32 value into a value that can safely be stored in the DB

type NullSignedFloat64

type NullSignedFloat64 struct {
	Field
	Raw   float64
	Empty bool
	Valid bool
}

NullSignedFloat64 supports signing nullable Float64 data

func (*NullSignedFloat64) Scan

func (s *NullSignedFloat64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedFloat64 value

func (NullSignedFloat64) Value

func (s NullSignedFloat64) Value() (driver.Value, error)

Value converts an initialized NullSignedFloat64 value into a value that can safely be stored in the DB

type NullSignedInt

type NullSignedInt struct {
	Field
	Raw   int
	Empty bool
	Valid bool
}

NullSignedInt supports signing nullable Int data

func (*NullSignedInt) Scan

func (s *NullSignedInt) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedInt value

func (NullSignedInt) Value

func (s NullSignedInt) Value() (driver.Value, error)

Value converts an initialized NullSignedInt value into a value that can safely be stored in the DB

type NullSignedInt16

type NullSignedInt16 struct {
	Field
	Raw   int16
	Empty bool
	Valid bool
}

NullSignedInt16 supports signing nullable Int16 data

func (*NullSignedInt16) Scan

func (s *NullSignedInt16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedInt16 value

func (NullSignedInt16) Value

func (s NullSignedInt16) Value() (driver.Value, error)

Value converts an initialized NullSignedInt16 value into a value that can safely be stored in the DB

type NullSignedInt32

type NullSignedInt32 struct {
	Field
	Raw   int32
	Empty bool
	Valid bool
}

NullSignedInt32 supports signing nullable Int32 data

func (*NullSignedInt32) Scan

func (s *NullSignedInt32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedInt32 value

func (NullSignedInt32) Value

func (s NullSignedInt32) Value() (driver.Value, error)

Value converts an initialized NullSignedInt32 value into a value that can safely be stored in the DB

type NullSignedInt64

type NullSignedInt64 struct {
	Field
	Raw   int64
	Empty bool
	Valid bool
}

NullSignedInt64 supports signing nullable Int64 data

func (*NullSignedInt64) Scan

func (s *NullSignedInt64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedInt64 value

func (NullSignedInt64) Value

func (s NullSignedInt64) Value() (driver.Value, error)

Value converts an initialized NullSignedInt64 value into a value that can safely be stored in the DB

type NullSignedInt8

type NullSignedInt8 struct {
	Field
	Raw   int8
	Empty bool
	Valid bool
}

NullSignedInt8 supports signing nullable Int8 data

func (*NullSignedInt8) Scan

func (s *NullSignedInt8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedInt8 value

func (NullSignedInt8) Value

func (s NullSignedInt8) Value() (driver.Value, error)

Value converts an initialized NullSignedInt8 value into a value that can safely be stored in the DB

type NullSignedRune

type NullSignedRune struct {
	Field
	Raw   rune
	Empty bool
	Valid bool
}

NullSignedRune supports signing nullable Rune data

func (*NullSignedRune) Scan

func (s *NullSignedRune) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedRune value

func (NullSignedRune) Value

func (s NullSignedRune) Value() (driver.Value, error)

Value converts an initialized NullSignedRune value into a value that can safely be stored in the DB

type NullSignedRuneSlice

type NullSignedRuneSlice struct {
	Field
	Raw   []rune
	Empty bool
	Valid bool
}

NullSignedRuneSlice supports signing nullable RuneSlice data

func (*NullSignedRuneSlice) Scan

func (s *NullSignedRuneSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedRuneSlice value

func (NullSignedRuneSlice) Value

func (s NullSignedRuneSlice) Value() (driver.Value, error)

Value converts an initialized NullSignedRuneSlice value into a value that can safely be stored in the DB

type NullSignedString

type NullSignedString struct {
	Field
	Raw   string
	Empty bool
	Valid bool
}

NullSignedString supports signing nullable String data

func (*NullSignedString) Scan

func (s *NullSignedString) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedString value

func (NullSignedString) Value

func (s NullSignedString) Value() (driver.Value, error)

Value converts an initialized NullSignedString value into a value that can safely be stored in the DB

type NullSignedTime

type NullSignedTime struct {
	Field
	Raw   time.Time
	Empty bool
	Valid bool
}

NullSignedTime supports signing nullable Time data

func (*NullSignedTime) Scan

func (s *NullSignedTime) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedTime value

func (NullSignedTime) Value

func (s NullSignedTime) Value() (driver.Value, error)

Value converts an initialized NullSignedTime value into a value that can safely be stored in the DB

type NullSignedUint

type NullSignedUint struct {
	Field
	Raw   uint
	Empty bool
	Valid bool
}

NullSignedUint supports signing nullable Uint data

func (*NullSignedUint) Scan

func (s *NullSignedUint) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedUint value

func (NullSignedUint) Value

func (s NullSignedUint) Value() (driver.Value, error)

Value converts an initialized NullSignedUint value into a value that can safely be stored in the DB

type NullSignedUint16

type NullSignedUint16 struct {
	Field
	Raw   uint16
	Empty bool
	Valid bool
}

NullSignedUint16 supports signing nullable Uint16 data

func (*NullSignedUint16) Scan

func (s *NullSignedUint16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedUint16 value

func (NullSignedUint16) Value

func (s NullSignedUint16) Value() (driver.Value, error)

Value converts an initialized NullSignedUint16 value into a value that can safely be stored in the DB

type NullSignedUint32

type NullSignedUint32 struct {
	Field
	Raw   uint32
	Empty bool
	Valid bool
}

NullSignedUint32 supports signing nullable Uint32 data

func (*NullSignedUint32) Scan

func (s *NullSignedUint32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedUint32 value

func (NullSignedUint32) Value

func (s NullSignedUint32) Value() (driver.Value, error)

Value converts an initialized NullSignedUint32 value into a value that can safely be stored in the DB

type NullSignedUint64

type NullSignedUint64 struct {
	Field
	Raw   uint64
	Empty bool
	Valid bool
}

NullSignedUint64 supports signing nullable Uint64 data

func (*NullSignedUint64) Scan

func (s *NullSignedUint64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedUint64 value

func (NullSignedUint64) Value

func (s NullSignedUint64) Value() (driver.Value, error)

Value converts an initialized NullSignedUint64 value into a value that can safely be stored in the DB

type NullSignedUint8

type NullSignedUint8 struct {
	Field
	Raw   uint8
	Empty bool
	Valid bool
}

NullSignedUint8 supports signing nullable Uint8 data

func (*NullSignedUint8) Scan

func (s *NullSignedUint8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable NullSignedUint8 value

func (NullSignedUint8) Value

func (s NullSignedUint8) Value() (driver.Value, error)

Value converts an initialized NullSignedUint8 value into a value that can safely be stored in the DB

type SignedAny

type SignedAny struct {
	Field
	Raw   interface{}
	Valid bool
}

SignedAny supports signing Any data

func (*SignedAny) Scan

func (s *SignedAny) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedAny value

func (SignedAny) Value

func (s SignedAny) Value() (driver.Value, error)

Value converts an initialized SignedAny value into a value that can safely be stored in the DB

type SignedBool

type SignedBool struct {
	Field
	Raw   bool
	Valid bool
}

SignedBool supports signing Bool data

func (*SignedBool) Scan

func (s *SignedBool) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedBool value

func (SignedBool) Value

func (s SignedBool) Value() (driver.Value, error)

Value converts an initialized SignedBool value into a value that can safely be stored in the DB

type SignedByte

type SignedByte struct {
	Field
	Raw   byte
	Valid bool
}

SignedByte supports signing Byte data

func (*SignedByte) Scan

func (s *SignedByte) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedByte value

func (SignedByte) Value

func (s SignedByte) Value() (driver.Value, error)

Value converts an initialized SignedByte value into a value that can safely be stored in the DB

type SignedByteSlice

type SignedByteSlice struct {
	Field
	Raw   []byte
	Valid bool
}

SignedByteSlice supports signing ByteSlice data

func (*SignedByteSlice) Scan

func (s *SignedByteSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedByteSlice value

func (SignedByteSlice) Value

func (s SignedByteSlice) Value() (driver.Value, error)

Value converts an initialized SignedByteSlice value into a value that can safely be stored in the DB

type SignedComplex128

type SignedComplex128 struct {
	Field
	Raw   complex128
	Valid bool
}

SignedComplex128 supports signing Complex128 data

func (*SignedComplex128) Scan

func (s *SignedComplex128) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedComplex128 value

func (SignedComplex128) Value

func (s SignedComplex128) Value() (driver.Value, error)

Value converts an initialized SignedComplex128 value into a value that can safely be stored in the DB

type SignedComplex64

type SignedComplex64 struct {
	Field
	Raw   complex64
	Valid bool
}

SignedComplex64 supports signing Complex64 data

func (*SignedComplex64) Scan

func (s *SignedComplex64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedComplex64 value

func (SignedComplex64) Value

func (s SignedComplex64) Value() (driver.Value, error)

Value converts an initialized SignedComplex64 value into a value that can safely be stored in the DB

type SignedEncryptedAny

type SignedEncryptedAny struct {
	Field
	Raw   interface{}
	Valid bool
}

SignedEncryptedAny supports signing and encrypting Any data

func (*SignedEncryptedAny) Scan

func (s *SignedEncryptedAny) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedAny value

func (SignedEncryptedAny) Value

func (s SignedEncryptedAny) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedAny value into a value that can safely be stored in the DB

type SignedEncryptedBool

type SignedEncryptedBool struct {
	Field
	Raw   bool
	Valid bool
}

SignedEncryptedBool supports signing and encrypting Bool data

func (*SignedEncryptedBool) Scan

func (s *SignedEncryptedBool) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedBool value

func (SignedEncryptedBool) Value

func (s SignedEncryptedBool) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedBool value into a value that can safely be stored in the DB

type SignedEncryptedByte

type SignedEncryptedByte struct {
	Field
	Raw   byte
	Valid bool
}

SignedEncryptedByte supports signing and encrypting Byte data

func (*SignedEncryptedByte) Scan

func (s *SignedEncryptedByte) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedByte value

func (SignedEncryptedByte) Value

func (s SignedEncryptedByte) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedByte value into a value that can safely be stored in the DB

type SignedEncryptedByteSlice

type SignedEncryptedByteSlice struct {
	Field
	Raw   []byte
	Valid bool
}

SignedEncryptedByteSlice supports signing and encrypting ByteSlice data

func (*SignedEncryptedByteSlice) Scan

func (s *SignedEncryptedByteSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedByteSlice value

func (SignedEncryptedByteSlice) Value

Value converts an initialized SignedEncryptedByteSlice value into a value that can safely be stored in the DB

type SignedEncryptedComplex128

type SignedEncryptedComplex128 struct {
	Field
	Raw   complex128
	Valid bool
}

SignedEncryptedComplex128 supports signing and encrypting Complex128 data

func (*SignedEncryptedComplex128) Scan

func (s *SignedEncryptedComplex128) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedComplex128 value

func (SignedEncryptedComplex128) Value

Value converts an initialized SignedEncryptedComplex128 value into a value that can safely be stored in the DB

type SignedEncryptedComplex64

type SignedEncryptedComplex64 struct {
	Field
	Raw   complex64
	Valid bool
}

SignedEncryptedComplex64 supports signing and encrypting Complex64 data

func (*SignedEncryptedComplex64) Scan

func (s *SignedEncryptedComplex64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedComplex64 value

func (SignedEncryptedComplex64) Value

Value converts an initialized SignedEncryptedComplex64 value into a value that can safely be stored in the DB

type SignedEncryptedFloat32

type SignedEncryptedFloat32 struct {
	Field
	Raw   float32
	Valid bool
}

SignedEncryptedFloat32 supports signing and encrypting Float32 data

func (*SignedEncryptedFloat32) Scan

func (s *SignedEncryptedFloat32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedFloat32 value

func (SignedEncryptedFloat32) Value

Value converts an initialized SignedEncryptedFloat32 value into a value that can safely be stored in the DB

type SignedEncryptedFloat64

type SignedEncryptedFloat64 struct {
	Field
	Raw   float64
	Valid bool
}

SignedEncryptedFloat64 supports signing and encrypting Float64 data

func (*SignedEncryptedFloat64) Scan

func (s *SignedEncryptedFloat64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedFloat64 value

func (SignedEncryptedFloat64) Value

Value converts an initialized SignedEncryptedFloat64 value into a value that can safely be stored in the DB

type SignedEncryptedInt

type SignedEncryptedInt struct {
	Field
	Raw   int
	Valid bool
}

SignedEncryptedInt supports signing and encrypting Int data

func (*SignedEncryptedInt) Scan

func (s *SignedEncryptedInt) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedInt value

func (SignedEncryptedInt) Value

func (s SignedEncryptedInt) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedInt value into a value that can safely be stored in the DB

type SignedEncryptedInt16

type SignedEncryptedInt16 struct {
	Field
	Raw   int16
	Valid bool
}

SignedEncryptedInt16 supports signing and encrypting Int16 data

func (*SignedEncryptedInt16) Scan

func (s *SignedEncryptedInt16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedInt16 value

func (SignedEncryptedInt16) Value

func (s SignedEncryptedInt16) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedInt16 value into a value that can safely be stored in the DB

type SignedEncryptedInt32

type SignedEncryptedInt32 struct {
	Field
	Raw   int32
	Valid bool
}

SignedEncryptedInt32 supports signing and encrypting Int32 data

func (*SignedEncryptedInt32) Scan

func (s *SignedEncryptedInt32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedInt32 value

func (SignedEncryptedInt32) Value

func (s SignedEncryptedInt32) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedInt32 value into a value that can safely be stored in the DB

type SignedEncryptedInt64

type SignedEncryptedInt64 struct {
	Field
	Raw   int64
	Valid bool
}

SignedEncryptedInt64 supports signing and encrypting Int64 data

func (*SignedEncryptedInt64) Scan

func (s *SignedEncryptedInt64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedInt64 value

func (SignedEncryptedInt64) Value

func (s SignedEncryptedInt64) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedInt64 value into a value that can safely be stored in the DB

type SignedEncryptedInt8

type SignedEncryptedInt8 struct {
	Field
	Raw   int8
	Valid bool
}

SignedEncryptedInt8 supports signing and encrypting Int8 data

func (*SignedEncryptedInt8) Scan

func (s *SignedEncryptedInt8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedInt8 value

func (SignedEncryptedInt8) Value

func (s SignedEncryptedInt8) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedInt8 value into a value that can safely be stored in the DB

type SignedEncryptedRune

type SignedEncryptedRune struct {
	Field
	Raw   rune
	Valid bool
}

SignedEncryptedRune supports signing and encrypting Rune data

func (*SignedEncryptedRune) Scan

func (s *SignedEncryptedRune) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedRune value

func (SignedEncryptedRune) Value

func (s SignedEncryptedRune) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedRune value into a value that can safely be stored in the DB

type SignedEncryptedRuneSlice

type SignedEncryptedRuneSlice struct {
	Field
	Raw   []rune
	Valid bool
}

SignedEncryptedRuneSlice supports signing and encrypting RuneSlice data

func (*SignedEncryptedRuneSlice) Scan

func (s *SignedEncryptedRuneSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedRuneSlice value

func (SignedEncryptedRuneSlice) Value

Value converts an initialized SignedEncryptedRuneSlice value into a value that can safely be stored in the DB

type SignedEncryptedString

type SignedEncryptedString struct {
	Field
	Raw   string
	Valid bool
}

SignedEncryptedString supports signing and encrypting String data

func (*SignedEncryptedString) Scan

func (s *SignedEncryptedString) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedString value

func (SignedEncryptedString) Value

func (s SignedEncryptedString) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedString value into a value that can safely be stored in the DB

type SignedEncryptedTime

type SignedEncryptedTime struct {
	Field
	Raw   time.Time
	Valid bool
}

SignedEncryptedTime supports signing and encrypting Time data

func (*SignedEncryptedTime) Scan

func (s *SignedEncryptedTime) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedTime value

func (SignedEncryptedTime) Value

func (s SignedEncryptedTime) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedTime value into a value that can safely be stored in the DB

type SignedEncryptedUint

type SignedEncryptedUint struct {
	Field
	Raw   uint
	Valid bool
}

SignedEncryptedUint supports signing and encrypting Uint data

func (*SignedEncryptedUint) Scan

func (s *SignedEncryptedUint) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedUint value

func (SignedEncryptedUint) Value

func (s SignedEncryptedUint) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedUint value into a value that can safely be stored in the DB

type SignedEncryptedUint16

type SignedEncryptedUint16 struct {
	Field
	Raw   uint16
	Valid bool
}

SignedEncryptedUint16 supports signing and encrypting Uint16 data

func (*SignedEncryptedUint16) Scan

func (s *SignedEncryptedUint16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedUint16 value

func (SignedEncryptedUint16) Value

func (s SignedEncryptedUint16) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedUint16 value into a value that can safely be stored in the DB

type SignedEncryptedUint32

type SignedEncryptedUint32 struct {
	Field
	Raw   uint32
	Valid bool
}

SignedEncryptedUint32 supports signing and encrypting Uint32 data

func (*SignedEncryptedUint32) Scan

func (s *SignedEncryptedUint32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedUint32 value

func (SignedEncryptedUint32) Value

func (s SignedEncryptedUint32) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedUint32 value into a value that can safely be stored in the DB

type SignedEncryptedUint64

type SignedEncryptedUint64 struct {
	Field
	Raw   uint64
	Valid bool
}

SignedEncryptedUint64 supports signing and encrypting Uint64 data

func (*SignedEncryptedUint64) Scan

func (s *SignedEncryptedUint64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedUint64 value

func (SignedEncryptedUint64) Value

func (s SignedEncryptedUint64) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedUint64 value into a value that can safely be stored in the DB

type SignedEncryptedUint8

type SignedEncryptedUint8 struct {
	Field
	Raw   uint8
	Valid bool
}

SignedEncryptedUint8 supports signing and encrypting Uint8 data

func (*SignedEncryptedUint8) Scan

func (s *SignedEncryptedUint8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedEncryptedUint8 value

func (SignedEncryptedUint8) Value

func (s SignedEncryptedUint8) Value() (driver.Value, error)

Value converts an initialized SignedEncryptedUint8 value into a value that can safely be stored in the DB

type SignedFloat32

type SignedFloat32 struct {
	Field
	Raw   float32
	Valid bool
}

SignedFloat32 supports signing Float32 data

func (*SignedFloat32) Scan

func (s *SignedFloat32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedFloat32 value

func (SignedFloat32) Value

func (s SignedFloat32) Value() (driver.Value, error)

Value converts an initialized SignedFloat32 value into a value that can safely be stored in the DB

type SignedFloat64

type SignedFloat64 struct {
	Field
	Raw   float64
	Valid bool
}

SignedFloat64 supports signing Float64 data

func (*SignedFloat64) Scan

func (s *SignedFloat64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedFloat64 value

func (SignedFloat64) Value

func (s SignedFloat64) Value() (driver.Value, error)

Value converts an initialized SignedFloat64 value into a value that can safely be stored in the DB

type SignedInt

type SignedInt struct {
	Field
	Raw   int
	Valid bool
}

SignedInt supports signing Int data

func (*SignedInt) Scan

func (s *SignedInt) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedInt value

func (SignedInt) Value

func (s SignedInt) Value() (driver.Value, error)

Value converts an initialized SignedInt value into a value that can safely be stored in the DB

type SignedInt16

type SignedInt16 struct {
	Field
	Raw   int16
	Valid bool
}

SignedInt16 supports signing Int16 data

func (*SignedInt16) Scan

func (s *SignedInt16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedInt16 value

func (SignedInt16) Value

func (s SignedInt16) Value() (driver.Value, error)

Value converts an initialized SignedInt16 value into a value that can safely be stored in the DB

type SignedInt32

type SignedInt32 struct {
	Field
	Raw   int32
	Valid bool
}

SignedInt32 supports signing Int32 data

func (*SignedInt32) Scan

func (s *SignedInt32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedInt32 value

func (SignedInt32) Value

func (s SignedInt32) Value() (driver.Value, error)

Value converts an initialized SignedInt32 value into a value that can safely be stored in the DB

type SignedInt64

type SignedInt64 struct {
	Field
	Raw   int64
	Valid bool
}

SignedInt64 supports signing Int64 data

func (*SignedInt64) Scan

func (s *SignedInt64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedInt64 value

func (SignedInt64) Value

func (s SignedInt64) Value() (driver.Value, error)

Value converts an initialized SignedInt64 value into a value that can safely be stored in the DB

type SignedInt8

type SignedInt8 struct {
	Field
	Raw   int8
	Valid bool
}

SignedInt8 supports signing Int8 data

func (*SignedInt8) Scan

func (s *SignedInt8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedInt8 value

func (SignedInt8) Value

func (s SignedInt8) Value() (driver.Value, error)

Value converts an initialized SignedInt8 value into a value that can safely be stored in the DB

type SignedRune

type SignedRune struct {
	Field
	Raw   rune
	Valid bool
}

SignedRune supports signing Rune data

func (*SignedRune) Scan

func (s *SignedRune) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedRune value

func (SignedRune) Value

func (s SignedRune) Value() (driver.Value, error)

Value converts an initialized SignedRune value into a value that can safely be stored in the DB

type SignedRuneSlice

type SignedRuneSlice struct {
	Field
	Raw   []rune
	Valid bool
}

SignedRuneSlice supports signing RuneSlice data

func (*SignedRuneSlice) Scan

func (s *SignedRuneSlice) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedRuneSlice value

func (SignedRuneSlice) Value

func (s SignedRuneSlice) Value() (driver.Value, error)

Value converts an initialized SignedRuneSlice value into a value that can safely be stored in the DB

type SignedString

type SignedString struct {
	Field
	Raw   string
	Valid bool
}

SignedString supports signing String data

func (*SignedString) Scan

func (s *SignedString) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedString value

func (SignedString) Value

func (s SignedString) Value() (driver.Value, error)

Value converts an initialized SignedString value into a value that can safely be stored in the DB

type SignedTime

type SignedTime struct {
	Field
	Raw   time.Time
	Valid bool
}

SignedTime supports signing Time data

func (*SignedTime) Scan

func (s *SignedTime) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedTime value

func (SignedTime) Value

func (s SignedTime) Value() (driver.Value, error)

Value converts an initialized SignedTime value into a value that can safely be stored in the DB

type SignedUint

type SignedUint struct {
	Field
	Raw   uint
	Valid bool
}

SignedUint supports signing Uint data

func (*SignedUint) Scan

func (s *SignedUint) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedUint value

func (SignedUint) Value

func (s SignedUint) Value() (driver.Value, error)

Value converts an initialized SignedUint value into a value that can safely be stored in the DB

type SignedUint16

type SignedUint16 struct {
	Field
	Raw   uint16
	Valid bool
}

SignedUint16 supports signing Uint16 data

func (*SignedUint16) Scan

func (s *SignedUint16) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedUint16 value

func (SignedUint16) Value

func (s SignedUint16) Value() (driver.Value, error)

Value converts an initialized SignedUint16 value into a value that can safely be stored in the DB

type SignedUint32

type SignedUint32 struct {
	Field
	Raw   uint32
	Valid bool
}

SignedUint32 supports signing Uint32 data

func (*SignedUint32) Scan

func (s *SignedUint32) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedUint32 value

func (SignedUint32) Value

func (s SignedUint32) Value() (driver.Value, error)

Value converts an initialized SignedUint32 value into a value that can safely be stored in the DB

type SignedUint64

type SignedUint64 struct {
	Field
	Raw   uint64
	Valid bool
}

SignedUint64 supports signing Uint64 data

func (*SignedUint64) Scan

func (s *SignedUint64) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedUint64 value

func (SignedUint64) Value

func (s SignedUint64) Value() (driver.Value, error)

Value converts an initialized SignedUint64 value into a value that can safely be stored in the DB

type SignedUint8

type SignedUint8 struct {
	Field
	Raw   uint8
	Valid bool
}

SignedUint8 supports signing Uint8 data

func (*SignedUint8) Scan

func (s *SignedUint8) Scan(value interface{}) (err error)

Scan converts the value from the DB into a usable SignedUint8 value

func (SignedUint8) Value

func (s SignedUint8) Value() (driver.Value, error)

Value converts an initialized SignedUint8 value into a value that can safely be stored in the DB

Jump to

Keyboard shortcuts

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