httprequest

package
v0.0.0-...-f87da74 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the httprequest type in the database.
	Label = "http_request"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldReceived holds the string denoting the received field in the database.
	FieldReceived = "received"
	// FieldHost holds the string denoting the host field in the database.
	FieldHost = "host"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldMethod holds the string denoting the method field in the database.
	FieldMethod = "method"
	// FieldHeader holds the string denoting the header field in the database.
	FieldHeader = "header"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// Table holds the table name of the httprequest in the database.
	Table = "http_requests"
)

Variables

Columns holds all SQL columns for httprequest fields.

View Source
var (
	// DefaultReceived holds the default value on creation for the "received" field.
	DefaultReceived func() time.Time
)

Functions

func And

func And(predicates ...predicate.HTTPRequest) predicate.HTTPRequest

And groups predicates with the AND operator between them.

func Body

func Body(v []byte) predicate.HTTPRequest

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

func BodyEQ

func BodyEQ(v []byte) predicate.HTTPRequest

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

func BodyGT

func BodyGT(v []byte) predicate.HTTPRequest

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

func BodyGTE

func BodyGTE(v []byte) predicate.HTTPRequest

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

func BodyIn

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

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

func BodyLT

func BodyLT(v []byte) predicate.HTTPRequest

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

func BodyLTE

func BodyLTE(v []byte) predicate.HTTPRequest

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

func BodyNEQ

func BodyNEQ(v []byte) predicate.HTTPRequest

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

func BodyNotIn

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

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

func Host

Host applies equality check predicate on the "host" field. It's identical to HostEQ.

func HostContains

func HostContains(v string) predicate.HTTPRequest

HostContains applies the Contains predicate on the "host" field.

func HostContainsFold

func HostContainsFold(v string) predicate.HTTPRequest

HostContainsFold applies the ContainsFold predicate on the "host" field.

func HostEQ

func HostEQ(v string) predicate.HTTPRequest

HostEQ applies the EQ predicate on the "host" field.

func HostEqualFold

func HostEqualFold(v string) predicate.HTTPRequest

HostEqualFold applies the EqualFold predicate on the "host" field.

func HostGT

func HostGT(v string) predicate.HTTPRequest

HostGT applies the GT predicate on the "host" field.

func HostGTE

func HostGTE(v string) predicate.HTTPRequest

HostGTE applies the GTE predicate on the "host" field.

func HostHasPrefix

func HostHasPrefix(v string) predicate.HTTPRequest

HostHasPrefix applies the HasPrefix predicate on the "host" field.

func HostHasSuffix

func HostHasSuffix(v string) predicate.HTTPRequest

HostHasSuffix applies the HasSuffix predicate on the "host" field.

func HostIn

func HostIn(vs ...string) predicate.HTTPRequest

HostIn applies the In predicate on the "host" field.

func HostLT

func HostLT(v string) predicate.HTTPRequest

HostLT applies the LT predicate on the "host" field.

func HostLTE

func HostLTE(v string) predicate.HTTPRequest

HostLTE applies the LTE predicate on the "host" field.

func HostNEQ

func HostNEQ(v string) predicate.HTTPRequest

HostNEQ applies the NEQ predicate on the "host" field.

func HostNotIn

func HostNotIn(vs ...string) predicate.HTTPRequest

HostNotIn applies the NotIn predicate on the "host" field.

func ID

func ID(id int) predicate.HTTPRequest

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.HTTPRequest

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.HTTPRequest

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.HTTPRequest

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.HTTPRequest

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.HTTPRequest

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.HTTPRequest

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Method

func Method(v string) predicate.HTTPRequest

Method applies equality check predicate on the "method" field. It's identical to MethodEQ.

func MethodContains

func MethodContains(v string) predicate.HTTPRequest

MethodContains applies the Contains predicate on the "method" field.

func MethodContainsFold

func MethodContainsFold(v string) predicate.HTTPRequest

MethodContainsFold applies the ContainsFold predicate on the "method" field.

func MethodEQ

func MethodEQ(v string) predicate.HTTPRequest

MethodEQ applies the EQ predicate on the "method" field.

func MethodEqualFold

func MethodEqualFold(v string) predicate.HTTPRequest

MethodEqualFold applies the EqualFold predicate on the "method" field.

func MethodGT

func MethodGT(v string) predicate.HTTPRequest

MethodGT applies the GT predicate on the "method" field.

func MethodGTE

func MethodGTE(v string) predicate.HTTPRequest

MethodGTE applies the GTE predicate on the "method" field.

func MethodHasPrefix

func MethodHasPrefix(v string) predicate.HTTPRequest

MethodHasPrefix applies the HasPrefix predicate on the "method" field.

func MethodHasSuffix

func MethodHasSuffix(v string) predicate.HTTPRequest

MethodHasSuffix applies the HasSuffix predicate on the "method" field.

func MethodIn

func MethodIn(vs ...string) predicate.HTTPRequest

MethodIn applies the In predicate on the "method" field.

func MethodLT

func MethodLT(v string) predicate.HTTPRequest

MethodLT applies the LT predicate on the "method" field.

func MethodLTE

func MethodLTE(v string) predicate.HTTPRequest

MethodLTE applies the LTE predicate on the "method" field.

func MethodNEQ

func MethodNEQ(v string) predicate.HTTPRequest

MethodNEQ applies the NEQ predicate on the "method" field.

func MethodNotIn

func MethodNotIn(vs ...string) predicate.HTTPRequest

MethodNotIn applies the NotIn predicate on the "method" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.HTTPRequest) predicate.HTTPRequest

Or groups predicates with the OR operator between them.

func Path

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.HTTPRequest

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.HTTPRequest

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.HTTPRequest

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.HTTPRequest

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.HTTPRequest

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.HTTPRequest

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.HTTPRequest

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.HTTPRequest

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.HTTPRequest

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.HTTPRequest

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.HTTPRequest

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.HTTPRequest

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.HTTPRequest

PathNotIn applies the NotIn predicate on the "path" field.

func Received

func Received(v time.Time) predicate.HTTPRequest

Received applies equality check predicate on the "received" field. It's identical to ReceivedEQ.

func ReceivedEQ

func ReceivedEQ(v time.Time) predicate.HTTPRequest

ReceivedEQ applies the EQ predicate on the "received" field.

func ReceivedGT

func ReceivedGT(v time.Time) predicate.HTTPRequest

ReceivedGT applies the GT predicate on the "received" field.

func ReceivedGTE

func ReceivedGTE(v time.Time) predicate.HTTPRequest

ReceivedGTE applies the GTE predicate on the "received" field.

func ReceivedIn

func ReceivedIn(vs ...time.Time) predicate.HTTPRequest

ReceivedIn applies the In predicate on the "received" field.

func ReceivedLT

func ReceivedLT(v time.Time) predicate.HTTPRequest

ReceivedLT applies the LT predicate on the "received" field.

func ReceivedLTE

func ReceivedLTE(v time.Time) predicate.HTTPRequest

ReceivedLTE applies the LTE predicate on the "received" field.

func ReceivedNEQ

func ReceivedNEQ(v time.Time) predicate.HTTPRequest

ReceivedNEQ applies the NEQ predicate on the "received" field.

func ReceivedNotIn

func ReceivedNotIn(vs ...time.Time) predicate.HTTPRequest

ReceivedNotIn applies the NotIn predicate on the "received" 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