requestlog

package
v0.0.0-...-1c22a90 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the requestlog type in the database.
	Label = "request_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// FieldHeaders holds the string denoting the headers field in the database.
	FieldHeaders = "headers"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// FieldFlag holds the string denoting the flag field in the database.
	FieldFlag = "flag"
	// Table holds the table name of the requestlog in the database.
	Table = "request_logs"
)

Variables

Columns holds all SQL columns for requestlog fields.

View Source
var (
	// DefaultFlag holds the default value on creation for the "flag" field.
	DefaultFlag string
)

Functions

func And

func And(predicates ...predicate.RequestLog) predicate.RequestLog

And groups predicates with the AND operator between them.

func Body

func Body(v []byte) predicate.RequestLog

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyEQ

func BodyEQ(v []byte) predicate.RequestLog

BodyEQ applies the EQ predicate on the "body" field.

func BodyGT

func BodyGT(v []byte) predicate.RequestLog

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v []byte) predicate.RequestLog

BodyGTE applies the GTE predicate on the "body" field.

func BodyIn

func BodyIn(vs ...[]byte) predicate.RequestLog

BodyIn applies the In predicate on the "body" field.

func BodyIsNil

func BodyIsNil() predicate.RequestLog

BodyIsNil applies the IsNil predicate on the "body" field.

func BodyLT

func BodyLT(v []byte) predicate.RequestLog

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v []byte) predicate.RequestLog

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v []byte) predicate.RequestLog

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...[]byte) predicate.RequestLog

BodyNotIn applies the NotIn predicate on the "body" field.

func BodyNotNil

func BodyNotNil() predicate.RequestLog

BodyNotNil applies the NotNil predicate on the "body" field.

func Flag

func Flag(v string) predicate.RequestLog

Flag applies equality check predicate on the "flag" field. It's identical to FlagEQ.

func FlagContains

func FlagContains(v string) predicate.RequestLog

FlagContains applies the Contains predicate on the "flag" field.

func FlagContainsFold

func FlagContainsFold(v string) predicate.RequestLog

FlagContainsFold applies the ContainsFold predicate on the "flag" field.

func FlagEQ

func FlagEQ(v string) predicate.RequestLog

FlagEQ applies the EQ predicate on the "flag" field.

func FlagEqualFold

func FlagEqualFold(v string) predicate.RequestLog

FlagEqualFold applies the EqualFold predicate on the "flag" field.

func FlagGT

func FlagGT(v string) predicate.RequestLog

FlagGT applies the GT predicate on the "flag" field.

func FlagGTE

func FlagGTE(v string) predicate.RequestLog

FlagGTE applies the GTE predicate on the "flag" field.

func FlagHasPrefix

func FlagHasPrefix(v string) predicate.RequestLog

FlagHasPrefix applies the HasPrefix predicate on the "flag" field.

func FlagHasSuffix

func FlagHasSuffix(v string) predicate.RequestLog

FlagHasSuffix applies the HasSuffix predicate on the "flag" field.

func FlagIn

func FlagIn(vs ...string) predicate.RequestLog

FlagIn applies the In predicate on the "flag" field.

func FlagLT

func FlagLT(v string) predicate.RequestLog

FlagLT applies the LT predicate on the "flag" field.

func FlagLTE

func FlagLTE(v string) predicate.RequestLog

FlagLTE applies the LTE predicate on the "flag" field.

func FlagNEQ

func FlagNEQ(v string) predicate.RequestLog

FlagNEQ applies the NEQ predicate on the "flag" field.

func FlagNotIn

func FlagNotIn(vs ...string) predicate.RequestLog

FlagNotIn applies the NotIn predicate on the "flag" field.

func Headers

func Headers(v string) predicate.RequestLog

Headers applies equality check predicate on the "headers" field. It's identical to HeadersEQ.

func HeadersContains

func HeadersContains(v string) predicate.RequestLog

HeadersContains applies the Contains predicate on the "headers" field.

func HeadersContainsFold

func HeadersContainsFold(v string) predicate.RequestLog

HeadersContainsFold applies the ContainsFold predicate on the "headers" field.

func HeadersEQ

func HeadersEQ(v string) predicate.RequestLog

HeadersEQ applies the EQ predicate on the "headers" field.

func HeadersEqualFold

func HeadersEqualFold(v string) predicate.RequestLog

HeadersEqualFold applies the EqualFold predicate on the "headers" field.

func HeadersGT

func HeadersGT(v string) predicate.RequestLog

HeadersGT applies the GT predicate on the "headers" field.

func HeadersGTE

func HeadersGTE(v string) predicate.RequestLog

HeadersGTE applies the GTE predicate on the "headers" field.

func HeadersHasPrefix

func HeadersHasPrefix(v string) predicate.RequestLog

HeadersHasPrefix applies the HasPrefix predicate on the "headers" field.

func HeadersHasSuffix

func HeadersHasSuffix(v string) predicate.RequestLog

HeadersHasSuffix applies the HasSuffix predicate on the "headers" field.

func HeadersIn

func HeadersIn(vs ...string) predicate.RequestLog

HeadersIn applies the In predicate on the "headers" field.

func HeadersLT

func HeadersLT(v string) predicate.RequestLog

HeadersLT applies the LT predicate on the "headers" field.

func HeadersLTE

func HeadersLTE(v string) predicate.RequestLog

HeadersLTE applies the LTE predicate on the "headers" field.

func HeadersNEQ

func HeadersNEQ(v string) predicate.RequestLog

HeadersNEQ applies the NEQ predicate on the "headers" field.

func HeadersNotIn

func HeadersNotIn(vs ...string) predicate.RequestLog

HeadersNotIn applies the NotIn predicate on the "headers" field.

func ID

func ID(id int) predicate.RequestLog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.RequestLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.RequestLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.RequestLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.RequestLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.RequestLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.RequestLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RequestLog) predicate.RequestLog

Or groups predicates with the OR operator between them.

func Time

func Time(v time.Time) predicate.RequestLog

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.RequestLog

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v time.Time) predicate.RequestLog

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.RequestLog

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.RequestLog

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v time.Time) predicate.RequestLog

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.RequestLog

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.RequestLog

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.RequestLog

TimeNotIn applies the NotIn predicate on the "time" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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