query

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process added in v0.1.35

func Process(q Query) error

Types

type DetailsByCode

type DetailsByCode struct {
	UserID  string
	TokenID string
	Code    string
}

func (*DetailsByCode) Event

func (q *DetailsByCode) Event(registration *model.Registration) schema.Producable

func (*DetailsByCode) Prepare added in v0.1.35

func (q *DetailsByCode) Prepare()

func (*DetailsByCode) Validate

func (q *DetailsByCode) Validate() error

type DetailsWithCodeByInternal

type DetailsWithCodeByInternal struct {
	Code string
}

func (*DetailsWithCodeByInternal) Prepare added in v0.1.35

func (q *DetailsWithCodeByInternal) Prepare()

func (*DetailsWithCodeByInternal) Validate

func (q *DetailsWithCodeByInternal) Validate() error

type ListByNumber

type ListByNumber struct {
	UserID  string
	TokenID string
	Number  string
	Limit   string
	Offset  string
}

func (*ListByNumber) Event

func (q *ListByNumber) Event(registrations ...model.Registration) schema.Producable

func (*ListByNumber) GetLimit

func (q *ListByNumber) GetLimit() uint64

func (*ListByNumber) GetOffset

func (q *ListByNumber) GetOffset() uint64

func (*ListByNumber) Prepare added in v0.1.35

func (q *ListByNumber) Prepare()

func (*ListByNumber) Validate

func (q *ListByNumber) Validate() error

type ListByVIN

type ListByVIN struct {
	UserID  string
	TokenID string
	VIN     string
	Limit   string
	Offset  string
}

func (*ListByVIN) Event

func (q *ListByVIN) Event(registrations ...model.Registration) schema.Producable

func (*ListByVIN) GetLimit

func (q *ListByVIN) GetLimit() uint64

func (*ListByVIN) GetOffset

func (q *ListByVIN) GetOffset() uint64

func (*ListByVIN) Prepare added in v0.1.35

func (q *ListByVIN) Prepare()

func (*ListByVIN) Validate

func (q *ListByVIN) Validate() error

type ListWithNumberByInternal

type ListWithNumberByInternal struct {
	Number string
	Limit  string
	Offset string
}

func (*ListWithNumberByInternal) GetOffset

func (q *ListWithNumberByInternal) GetOffset() uint64

func (*ListWithNumberByInternal) Prepare added in v0.1.35

func (q *ListWithNumberByInternal) Prepare()

func (*ListWithNumberByInternal) Validate

func (q *ListWithNumberByInternal) Validate() error

type ListWithVINByInternal

type ListWithVINByInternal struct {
	VIN    string
	Limit  string
	Offset string
}

func (*ListWithVINByInternal) GetOffset

func (q *ListWithVINByInternal) GetOffset() uint64

func (*ListWithVINByInternal) Prepare added in v0.1.35

func (q *ListWithVINByInternal) Prepare()

func (*ListWithVINByInternal) Validate

func (q *ListWithVINByInternal) Validate() error

type Query added in v0.1.35

type Query interface {
	Prepare()
	Validate() error
}

Jump to

Keyboard shortcuts

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