jwtrevocation

package
v0.0.0-...-20f649f Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the jwtrevocation type in the database.
	Label = "jwt_revocation"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldJti holds the string denoting the jti field in the database.
	FieldJti = "jti"
	// FieldExpiry holds the string denoting the expiry field in the database.
	FieldExpiry = "expiry"
	// Table holds the table name of the jwtrevocation in the database.
	Table = "jwt_revocations"
)

Variables

Columns holds all SQL columns for jwtrevocation fields.

View Source
var (
	// JtiValidator is a validator for the "jti" field. It is called by the builders before save.
	JtiValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func Expiry

func Expiry(v time.Time) predicate.JWTRevocation

Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.

func ExpiryEQ

func ExpiryEQ(v time.Time) predicate.JWTRevocation

ExpiryEQ applies the EQ predicate on the "expiry" field.

func ExpiryGT

func ExpiryGT(v time.Time) predicate.JWTRevocation

ExpiryGT applies the GT predicate on the "expiry" field.

func ExpiryGTE

func ExpiryGTE(v time.Time) predicate.JWTRevocation

ExpiryGTE applies the GTE predicate on the "expiry" field.

func ExpiryIn

func ExpiryIn(vs ...time.Time) predicate.JWTRevocation

ExpiryIn applies the In predicate on the "expiry" field.

func ExpiryLT

func ExpiryLT(v time.Time) predicate.JWTRevocation

ExpiryLT applies the LT predicate on the "expiry" field.

func ExpiryLTE

func ExpiryLTE(v time.Time) predicate.JWTRevocation

ExpiryLTE applies the LTE predicate on the "expiry" field.

func ExpiryNEQ

func ExpiryNEQ(v time.Time) predicate.JWTRevocation

ExpiryNEQ applies the NEQ predicate on the "expiry" field.

func ExpiryNotIn

func ExpiryNotIn(vs ...time.Time) predicate.JWTRevocation

ExpiryNotIn applies the NotIn predicate on the "expiry" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.JWTRevocation

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.JWTRevocation

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.JWTRevocation

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.JWTRevocation

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.JWTRevocation

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.JWTRevocation

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.JWTRevocation

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.JWTRevocation

IDNotIn applies the NotIn predicate on the ID field.

func Jti

Jti applies equality check predicate on the "jti" field. It's identical to JtiEQ.

func JtiContains

func JtiContains(v string) predicate.JWTRevocation

JtiContains applies the Contains predicate on the "jti" field.

func JtiContainsFold

func JtiContainsFold(v string) predicate.JWTRevocation

JtiContainsFold applies the ContainsFold predicate on the "jti" field.

func JtiEQ

JtiEQ applies the EQ predicate on the "jti" field.

func JtiEqualFold

func JtiEqualFold(v string) predicate.JWTRevocation

JtiEqualFold applies the EqualFold predicate on the "jti" field.

func JtiGT

JtiGT applies the GT predicate on the "jti" field.

func JtiGTE

func JtiGTE(v string) predicate.JWTRevocation

JtiGTE applies the GTE predicate on the "jti" field.

func JtiHasPrefix

func JtiHasPrefix(v string) predicate.JWTRevocation

JtiHasPrefix applies the HasPrefix predicate on the "jti" field.

func JtiHasSuffix

func JtiHasSuffix(v string) predicate.JWTRevocation

JtiHasSuffix applies the HasSuffix predicate on the "jti" field.

func JtiIn

func JtiIn(vs ...string) predicate.JWTRevocation

JtiIn applies the In predicate on the "jti" field.

func JtiLT

JtiLT applies the LT predicate on the "jti" field.

func JtiLTE

func JtiLTE(v string) predicate.JWTRevocation

JtiLTE applies the LTE predicate on the "jti" field.

func JtiNEQ

func JtiNEQ(v string) predicate.JWTRevocation

JtiNEQ applies the NEQ predicate on the "jti" field.

func JtiNotIn

func JtiNotIn(vs ...string) predicate.JWTRevocation

JtiNotIn applies the NotIn predicate on the "jti" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the JWTRevocation queries.

func ByExpiry

func ByExpiry(opts ...sql.OrderTermOption) OrderOption

ByExpiry orders the results by the expiry field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByJti

func ByJti(opts ...sql.OrderTermOption) OrderOption

ByJti orders the results by the jti field.

Jump to

Keyboard shortcuts

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