Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Traffic) predicate.Traffic
- func ClientIP(v string) predicate.Traffic
- func ClientIPContains(v string) predicate.Traffic
- func ClientIPContainsFold(v string) predicate.Traffic
- func ClientIPEQ(v string) predicate.Traffic
- func ClientIPEqualFold(v string) predicate.Traffic
- func ClientIPGT(v string) predicate.Traffic
- func ClientIPGTE(v string) predicate.Traffic
- func ClientIPHasPrefix(v string) predicate.Traffic
- func ClientIPHasSuffix(v string) predicate.Traffic
- func ClientIPIn(vs ...string) predicate.Traffic
- func ClientIPIsNil() predicate.Traffic
- func ClientIPLT(v string) predicate.Traffic
- func ClientIPLTE(v string) predicate.Traffic
- func ClientIPNEQ(v string) predicate.Traffic
- func ClientIPNotIn(vs ...string) predicate.Traffic
- func ClientIPNotNil() predicate.Traffic
- func ContentType(v string) predicate.Traffic
- func ContentTypeContains(v string) predicate.Traffic
- func ContentTypeContainsFold(v string) predicate.Traffic
- func ContentTypeEQ(v string) predicate.Traffic
- func ContentTypeEqualFold(v string) predicate.Traffic
- func ContentTypeGT(v string) predicate.Traffic
- func ContentTypeGTE(v string) predicate.Traffic
- func ContentTypeHasPrefix(v string) predicate.Traffic
- func ContentTypeHasSuffix(v string) predicate.Traffic
- func ContentTypeIn(vs ...string) predicate.Traffic
- func ContentTypeIsNil() predicate.Traffic
- func ContentTypeLT(v string) predicate.Traffic
- func ContentTypeLTE(v string) predicate.Traffic
- func ContentTypeNEQ(v string) predicate.Traffic
- func ContentTypeNotIn(vs ...string) predicate.Traffic
- func ContentTypeNotNil() predicate.Traffic
- func CreatedAt(v time.Time) predicate.Traffic
- func CreatedAtEQ(v time.Time) predicate.Traffic
- func CreatedAtGT(v time.Time) predicate.Traffic
- func CreatedAtGTE(v time.Time) predicate.Traffic
- func CreatedAtIn(vs ...time.Time) predicate.Traffic
- func CreatedAtLT(v time.Time) predicate.Traffic
- func CreatedAtLTE(v time.Time) predicate.Traffic
- func CreatedAtNEQ(v time.Time) predicate.Traffic
- func CreatedAtNotIn(vs ...time.Time) predicate.Traffic
- func DurationMs(v float64) predicate.Traffic
- func DurationMsEQ(v float64) predicate.Traffic
- func DurationMsGT(v float64) predicate.Traffic
- func DurationMsGTE(v float64) predicate.Traffic
- func DurationMsIn(vs ...float64) predicate.Traffic
- func DurationMsLT(v float64) predicate.Traffic
- func DurationMsLTE(v float64) predicate.Traffic
- func DurationMsNEQ(v float64) predicate.Traffic
- func DurationMsNotIn(vs ...float64) predicate.Traffic
- func Error(v string) predicate.Traffic
- func ErrorContains(v string) predicate.Traffic
- func ErrorContainsFold(v string) predicate.Traffic
- func ErrorEQ(v string) predicate.Traffic
- func ErrorEqualFold(v string) predicate.Traffic
- func ErrorGT(v string) predicate.Traffic
- func ErrorGTE(v string) predicate.Traffic
- func ErrorHasPrefix(v string) predicate.Traffic
- func ErrorHasSuffix(v string) predicate.Traffic
- func ErrorIn(vs ...string) predicate.Traffic
- func ErrorIsNil() predicate.Traffic
- func ErrorLT(v string) predicate.Traffic
- func ErrorLTE(v string) predicate.Traffic
- func ErrorNEQ(v string) predicate.Traffic
- func ErrorNotIn(vs ...string) predicate.Traffic
- func ErrorNotNil() predicate.Traffic
- func HasProxy() predicate.Traffic
- func HasProxyWith(preds ...predicate.Proxy) predicate.Traffic
- func Host(v string) predicate.Traffic
- func HostContains(v string) predicate.Traffic
- func HostContainsFold(v string) predicate.Traffic
- func HostEQ(v string) predicate.Traffic
- func HostEqualFold(v string) predicate.Traffic
- func HostGT(v string) predicate.Traffic
- func HostGTE(v string) predicate.Traffic
- func HostHasPrefix(v string) predicate.Traffic
- func HostHasSuffix(v string) predicate.Traffic
- func HostIn(vs ...string) predicate.Traffic
- func HostLT(v string) predicate.Traffic
- func HostLTE(v string) predicate.Traffic
- func HostNEQ(v string) predicate.Traffic
- func HostNotIn(vs ...string) predicate.Traffic
- func ID(id int) predicate.Traffic
- func IDEQ(id int) predicate.Traffic
- func IDGT(id int) predicate.Traffic
- func IDGTE(id int) predicate.Traffic
- func IDIn(ids ...int) predicate.Traffic
- func IDLT(id int) predicate.Traffic
- func IDLTE(id int) predicate.Traffic
- func IDNEQ(id int) predicate.Traffic
- func IDNotIn(ids ...int) predicate.Traffic
- func Method(v string) predicate.Traffic
- func MethodContains(v string) predicate.Traffic
- func MethodContainsFold(v string) predicate.Traffic
- func MethodEQ(v string) predicate.Traffic
- func MethodEqualFold(v string) predicate.Traffic
- func MethodGT(v string) predicate.Traffic
- func MethodGTE(v string) predicate.Traffic
- func MethodHasPrefix(v string) predicate.Traffic
- func MethodHasSuffix(v string) predicate.Traffic
- func MethodIn(vs ...string) predicate.Traffic
- func MethodLT(v string) predicate.Traffic
- func MethodLTE(v string) predicate.Traffic
- func MethodNEQ(v string) predicate.Traffic
- func MethodNotIn(vs ...string) predicate.Traffic
- func Not(p predicate.Traffic) predicate.Traffic
- func Or(predicates ...predicate.Traffic) predicate.Traffic
- func Path(v string) predicate.Traffic
- func PathContains(v string) predicate.Traffic
- func PathContainsFold(v string) predicate.Traffic
- func PathEQ(v string) predicate.Traffic
- func PathEqualFold(v string) predicate.Traffic
- func PathGT(v string) predicate.Traffic
- func PathGTE(v string) predicate.Traffic
- func PathHasPrefix(v string) predicate.Traffic
- func PathHasSuffix(v string) predicate.Traffic
- func PathIn(vs ...string) predicate.Traffic
- func PathLT(v string) predicate.Traffic
- func PathLTE(v string) predicate.Traffic
- func PathNEQ(v string) predicate.Traffic
- func PathNotIn(vs ...string) predicate.Traffic
- func Query(v string) predicate.Traffic
- func QueryContains(v string) predicate.Traffic
- func QueryContainsFold(v string) predicate.Traffic
- func QueryEQ(v string) predicate.Traffic
- func QueryEqualFold(v string) predicate.Traffic
- func QueryGT(v string) predicate.Traffic
- func QueryGTE(v string) predicate.Traffic
- func QueryHasPrefix(v string) predicate.Traffic
- func QueryHasSuffix(v string) predicate.Traffic
- func QueryIn(vs ...string) predicate.Traffic
- func QueryIsNil() predicate.Traffic
- func QueryLT(v string) predicate.Traffic
- func QueryLTE(v string) predicate.Traffic
- func QueryNEQ(v string) predicate.Traffic
- func QueryNotIn(vs ...string) predicate.Traffic
- func QueryNotNil() predicate.Traffic
- func RequestBody(v []byte) predicate.Traffic
- func RequestBodyEQ(v []byte) predicate.Traffic
- func RequestBodyGT(v []byte) predicate.Traffic
- func RequestBodyGTE(v []byte) predicate.Traffic
- func RequestBodyIn(vs ...[]byte) predicate.Traffic
- func RequestBodyIsNil() predicate.Traffic
- func RequestBodyLT(v []byte) predicate.Traffic
- func RequestBodyLTE(v []byte) predicate.Traffic
- func RequestBodyNEQ(v []byte) predicate.Traffic
- func RequestBodyNotIn(vs ...[]byte) predicate.Traffic
- func RequestBodyNotNil() predicate.Traffic
- func RequestBodySize(v int64) predicate.Traffic
- func RequestBodySizeEQ(v int64) predicate.Traffic
- func RequestBodySizeGT(v int64) predicate.Traffic
- func RequestBodySizeGTE(v int64) predicate.Traffic
- func RequestBodySizeIn(vs ...int64) predicate.Traffic
- func RequestBodySizeLT(v int64) predicate.Traffic
- func RequestBodySizeLTE(v int64) predicate.Traffic
- func RequestBodySizeNEQ(v int64) predicate.Traffic
- func RequestBodySizeNotIn(vs ...int64) predicate.Traffic
- func RequestHeadersIsNil() predicate.Traffic
- func RequestHeadersNotNil() predicate.Traffic
- func RequestIsBinary(v bool) predicate.Traffic
- func RequestIsBinaryEQ(v bool) predicate.Traffic
- func RequestIsBinaryNEQ(v bool) predicate.Traffic
- func ResponseBody(v []byte) predicate.Traffic
- func ResponseBodyEQ(v []byte) predicate.Traffic
- func ResponseBodyGT(v []byte) predicate.Traffic
- func ResponseBodyGTE(v []byte) predicate.Traffic
- func ResponseBodyIn(vs ...[]byte) predicate.Traffic
- func ResponseBodyIsNil() predicate.Traffic
- func ResponseBodyLT(v []byte) predicate.Traffic
- func ResponseBodyLTE(v []byte) predicate.Traffic
- func ResponseBodyNEQ(v []byte) predicate.Traffic
- func ResponseBodyNotIn(vs ...[]byte) predicate.Traffic
- func ResponseBodyNotNil() predicate.Traffic
- func ResponseBodySize(v int64) predicate.Traffic
- func ResponseBodySizeEQ(v int64) predicate.Traffic
- func ResponseBodySizeGT(v int64) predicate.Traffic
- func ResponseBodySizeGTE(v int64) predicate.Traffic
- func ResponseBodySizeIn(vs ...int64) predicate.Traffic
- func ResponseBodySizeLT(v int64) predicate.Traffic
- func ResponseBodySizeLTE(v int64) predicate.Traffic
- func ResponseBodySizeNEQ(v int64) predicate.Traffic
- func ResponseBodySizeNotIn(vs ...int64) predicate.Traffic
- func ResponseContentType(v string) predicate.Traffic
- func ResponseContentTypeContains(v string) predicate.Traffic
- func ResponseContentTypeContainsFold(v string) predicate.Traffic
- func ResponseContentTypeEQ(v string) predicate.Traffic
- func ResponseContentTypeEqualFold(v string) predicate.Traffic
- func ResponseContentTypeGT(v string) predicate.Traffic
- func ResponseContentTypeGTE(v string) predicate.Traffic
- func ResponseContentTypeHasPrefix(v string) predicate.Traffic
- func ResponseContentTypeHasSuffix(v string) predicate.Traffic
- func ResponseContentTypeIn(vs ...string) predicate.Traffic
- func ResponseContentTypeIsNil() predicate.Traffic
- func ResponseContentTypeLT(v string) predicate.Traffic
- func ResponseContentTypeLTE(v string) predicate.Traffic
- func ResponseContentTypeNEQ(v string) predicate.Traffic
- func ResponseContentTypeNotIn(vs ...string) predicate.Traffic
- func ResponseContentTypeNotNil() predicate.Traffic
- func ResponseHeadersIsNil() predicate.Traffic
- func ResponseHeadersNotNil() predicate.Traffic
- func ResponseIsBinary(v bool) predicate.Traffic
- func ResponseIsBinaryEQ(v bool) predicate.Traffic
- func ResponseIsBinaryNEQ(v bool) predicate.Traffic
- func Scheme(v string) predicate.Traffic
- func SchemeContains(v string) predicate.Traffic
- func SchemeContainsFold(v string) predicate.Traffic
- func SchemeEQ(v string) predicate.Traffic
- func SchemeEqualFold(v string) predicate.Traffic
- func SchemeGT(v string) predicate.Traffic
- func SchemeGTE(v string) predicate.Traffic
- func SchemeHasPrefix(v string) predicate.Traffic
- func SchemeHasSuffix(v string) predicate.Traffic
- func SchemeIn(vs ...string) predicate.Traffic
- func SchemeLT(v string) predicate.Traffic
- func SchemeLTE(v string) predicate.Traffic
- func SchemeNEQ(v string) predicate.Traffic
- func SchemeNotIn(vs ...string) predicate.Traffic
- func StartedAt(v time.Time) predicate.Traffic
- func StartedAtEQ(v time.Time) predicate.Traffic
- func StartedAtGT(v time.Time) predicate.Traffic
- func StartedAtGTE(v time.Time) predicate.Traffic
- func StartedAtIn(vs ...time.Time) predicate.Traffic
- func StartedAtLT(v time.Time) predicate.Traffic
- func StartedAtLTE(v time.Time) predicate.Traffic
- func StartedAtNEQ(v time.Time) predicate.Traffic
- func StartedAtNotIn(vs ...time.Time) predicate.Traffic
- func StatusCode(v int) predicate.Traffic
- func StatusCodeEQ(v int) predicate.Traffic
- func StatusCodeGT(v int) predicate.Traffic
- func StatusCodeGTE(v int) predicate.Traffic
- func StatusCodeIn(vs ...int) predicate.Traffic
- func StatusCodeLT(v int) predicate.Traffic
- func StatusCodeLTE(v int) predicate.Traffic
- func StatusCodeNEQ(v int) predicate.Traffic
- func StatusCodeNotIn(vs ...int) predicate.Traffic
- func StatusText(v string) predicate.Traffic
- func StatusTextContains(v string) predicate.Traffic
- func StatusTextContainsFold(v string) predicate.Traffic
- func StatusTextEQ(v string) predicate.Traffic
- func StatusTextEqualFold(v string) predicate.Traffic
- func StatusTextGT(v string) predicate.Traffic
- func StatusTextGTE(v string) predicate.Traffic
- func StatusTextHasPrefix(v string) predicate.Traffic
- func StatusTextHasSuffix(v string) predicate.Traffic
- func StatusTextIn(vs ...string) predicate.Traffic
- func StatusTextIsNil() predicate.Traffic
- func StatusTextLT(v string) predicate.Traffic
- func StatusTextLTE(v string) predicate.Traffic
- func StatusTextNEQ(v string) predicate.Traffic
- func StatusTextNotIn(vs ...string) predicate.Traffic
- func StatusTextNotNil() predicate.Traffic
- func TagsIsNil() predicate.Traffic
- func TagsNotNil() predicate.Traffic
- func TtfbMs(v float64) predicate.Traffic
- func TtfbMsEQ(v float64) predicate.Traffic
- func TtfbMsGT(v float64) predicate.Traffic
- func TtfbMsGTE(v float64) predicate.Traffic
- func TtfbMsIn(vs ...float64) predicate.Traffic
- func TtfbMsIsNil() predicate.Traffic
- func TtfbMsLT(v float64) predicate.Traffic
- func TtfbMsLTE(v float64) predicate.Traffic
- func TtfbMsNEQ(v float64) predicate.Traffic
- func TtfbMsNotIn(vs ...float64) predicate.Traffic
- func TtfbMsNotNil() predicate.Traffic
- func URL(v string) predicate.Traffic
- func URLContains(v string) predicate.Traffic
- func URLContainsFold(v string) predicate.Traffic
- func URLEQ(v string) predicate.Traffic
- func URLEqualFold(v string) predicate.Traffic
- func URLGT(v string) predicate.Traffic
- func URLGTE(v string) predicate.Traffic
- func URLHasPrefix(v string) predicate.Traffic
- func URLHasSuffix(v string) predicate.Traffic
- func URLIn(vs ...string) predicate.Traffic
- func URLLT(v string) predicate.Traffic
- func URLLTE(v string) predicate.Traffic
- func URLNEQ(v string) predicate.Traffic
- func URLNotIn(vs ...string) predicate.Traffic
- func ValidColumn(column string) bool
- type OrderOption
- func ByClientIP(opts ...sql.OrderTermOption) OrderOption
- func ByContentType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByHost(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMethod(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func ByProxyField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByQuery(opts ...sql.OrderTermOption) OrderOption
- func ByRequestBodySize(opts ...sql.OrderTermOption) OrderOption
- func ByRequestIsBinary(opts ...sql.OrderTermOption) OrderOption
- func ByResponseBodySize(opts ...sql.OrderTermOption) OrderOption
- func ByResponseContentType(opts ...sql.OrderTermOption) OrderOption
- func ByResponseIsBinary(opts ...sql.OrderTermOption) OrderOption
- func ByScheme(opts ...sql.OrderTermOption) OrderOption
- func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatusCode(opts ...sql.OrderTermOption) OrderOption
- func ByStatusText(opts ...sql.OrderTermOption) OrderOption
- func ByTtfbMs(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the traffic type in the database. Label = "traffic" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldScheme holds the string denoting the scheme field in the database. FieldScheme = "scheme" // 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" // FieldQuery holds the string denoting the query field in the database. FieldQuery = "query" // FieldRequestHeaders holds the string denoting the request_headers field in the database. FieldRequestHeaders = "request_headers" // FieldRequestBody holds the string denoting the request_body field in the database. FieldRequestBody = "request_body" // FieldRequestBodySize holds the string denoting the request_body_size field in the database. FieldRequestBodySize = "request_body_size" // FieldRequestIsBinary holds the string denoting the request_is_binary field in the database. FieldRequestIsBinary = "request_is_binary" // FieldContentType holds the string denoting the content_type field in the database. FieldContentType = "content_type" // FieldStatusCode holds the string denoting the status_code field in the database. FieldStatusCode = "status_code" // FieldStatusText holds the string denoting the status_text field in the database. FieldStatusText = "status_text" // FieldResponseHeaders holds the string denoting the response_headers field in the database. FieldResponseHeaders = "response_headers" // FieldResponseBody holds the string denoting the response_body field in the database. FieldResponseBody = "response_body" // FieldResponseBodySize holds the string denoting the response_body_size field in the database. FieldResponseBodySize = "response_body_size" // FieldResponseIsBinary holds the string denoting the response_is_binary field in the database. FieldResponseIsBinary = "response_is_binary" // FieldResponseContentType holds the string denoting the response_content_type field in the database. FieldResponseContentType = "response_content_type" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldDurationMs holds the string denoting the duration_ms field in the database. FieldDurationMs = "duration_ms" // FieldTtfbMs holds the string denoting the ttfb_ms field in the database. FieldTtfbMs = "ttfb_ms" // FieldClientIP holds the string denoting the client_ip field in the database. FieldClientIP = "client_ip" // FieldError holds the string denoting the error field in the database. FieldError = "error" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeProxy holds the string denoting the proxy edge name in mutations. EdgeProxy = "proxy" // Table holds the table name of the traffic in the database. Table = "traffics" // ProxyTable is the table that holds the proxy relation/edge. ProxyTable = "traffics" // ProxyInverseTable is the table name for the Proxy entity. // It exists in this package in order to avoid circular dependency with the "proxy" package. ProxyInverseTable = "proxies" // ProxyColumn is the table column denoting the proxy relation/edge. ProxyColumn = "proxy_traffic" )
Variables ¶
var ( // MethodValidator is a validator for the "method" field. It is called by the builders before save. MethodValidator func(string) error // URLValidator is a validator for the "url" field. It is called by the builders before save. URLValidator func(string) error // HostValidator is a validator for the "host" field. It is called by the builders before save. HostValidator func(string) error // DefaultRequestBodySize holds the default value on creation for the "request_body_size" field. DefaultRequestBodySize int64 // DefaultRequestIsBinary holds the default value on creation for the "request_is_binary" field. DefaultRequestIsBinary bool // DefaultResponseBodySize holds the default value on creation for the "response_body_size" field. DefaultResponseBodySize int64 // DefaultResponseIsBinary holds the default value on creation for the "response_is_binary" field. DefaultResponseIsBinary bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldMethod, FieldURL, FieldScheme, FieldHost, FieldPath, FieldQuery, FieldRequestHeaders, FieldRequestBody, FieldRequestBodySize, FieldRequestIsBinary, FieldContentType, FieldStatusCode, FieldStatusText, FieldResponseHeaders, FieldResponseBody, FieldResponseBodySize, FieldResponseIsBinary, FieldResponseContentType, FieldStartedAt, FieldDurationMs, FieldTtfbMs, FieldClientIP, FieldError, FieldTags, FieldCreatedAt, }
Columns holds all SQL columns for traffic fields.
var ForeignKeys = []string{
"proxy_traffic",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "traffics" table and are not defined as standalone fields in the schema.
Functions ¶
func ClientIP ¶
ClientIP applies equality check predicate on the "client_ip" field. It's identical to ClientIPEQ.
func ClientIPContains ¶
ClientIPContains applies the Contains predicate on the "client_ip" field.
func ClientIPContainsFold ¶
ClientIPContainsFold applies the ContainsFold predicate on the "client_ip" field.
func ClientIPEQ ¶
ClientIPEQ applies the EQ predicate on the "client_ip" field.
func ClientIPEqualFold ¶
ClientIPEqualFold applies the EqualFold predicate on the "client_ip" field.
func ClientIPGT ¶
ClientIPGT applies the GT predicate on the "client_ip" field.
func ClientIPGTE ¶
ClientIPGTE applies the GTE predicate on the "client_ip" field.
func ClientIPHasPrefix ¶
ClientIPHasPrefix applies the HasPrefix predicate on the "client_ip" field.
func ClientIPHasSuffix ¶
ClientIPHasSuffix applies the HasSuffix predicate on the "client_ip" field.
func ClientIPIn ¶
ClientIPIn applies the In predicate on the "client_ip" field.
func ClientIPIsNil ¶
ClientIPIsNil applies the IsNil predicate on the "client_ip" field.
func ClientIPLT ¶
ClientIPLT applies the LT predicate on the "client_ip" field.
func ClientIPLTE ¶
ClientIPLTE applies the LTE predicate on the "client_ip" field.
func ClientIPNEQ ¶
ClientIPNEQ applies the NEQ predicate on the "client_ip" field.
func ClientIPNotIn ¶
ClientIPNotIn applies the NotIn predicate on the "client_ip" field.
func ClientIPNotNil ¶
ClientIPNotNil applies the NotNil predicate on the "client_ip" field.
func ContentType ¶
ContentType applies equality check predicate on the "content_type" field. It's identical to ContentTypeEQ.
func ContentTypeContains ¶
ContentTypeContains applies the Contains predicate on the "content_type" field.
func ContentTypeContainsFold ¶
ContentTypeContainsFold applies the ContainsFold predicate on the "content_type" field.
func ContentTypeEQ ¶
ContentTypeEQ applies the EQ predicate on the "content_type" field.
func ContentTypeEqualFold ¶
ContentTypeEqualFold applies the EqualFold predicate on the "content_type" field.
func ContentTypeGT ¶
ContentTypeGT applies the GT predicate on the "content_type" field.
func ContentTypeGTE ¶
ContentTypeGTE applies the GTE predicate on the "content_type" field.
func ContentTypeHasPrefix ¶
ContentTypeHasPrefix applies the HasPrefix predicate on the "content_type" field.
func ContentTypeHasSuffix ¶
ContentTypeHasSuffix applies the HasSuffix predicate on the "content_type" field.
func ContentTypeIn ¶
ContentTypeIn applies the In predicate on the "content_type" field.
func ContentTypeIsNil ¶
ContentTypeIsNil applies the IsNil predicate on the "content_type" field.
func ContentTypeLT ¶
ContentTypeLT applies the LT predicate on the "content_type" field.
func ContentTypeLTE ¶
ContentTypeLTE applies the LTE predicate on the "content_type" field.
func ContentTypeNEQ ¶
ContentTypeNEQ applies the NEQ predicate on the "content_type" field.
func ContentTypeNotIn ¶
ContentTypeNotIn applies the NotIn predicate on the "content_type" field.
func ContentTypeNotNil ¶
ContentTypeNotNil applies the NotNil predicate on the "content_type" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DurationMs ¶
DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.
func DurationMsEQ ¶
DurationMsEQ applies the EQ predicate on the "duration_ms" field.
func DurationMsGT ¶
DurationMsGT applies the GT predicate on the "duration_ms" field.
func DurationMsGTE ¶
DurationMsGTE applies the GTE predicate on the "duration_ms" field.
func DurationMsIn ¶
DurationMsIn applies the In predicate on the "duration_ms" field.
func DurationMsLT ¶
DurationMsLT applies the LT predicate on the "duration_ms" field.
func DurationMsLTE ¶
DurationMsLTE applies the LTE predicate on the "duration_ms" field.
func DurationMsNEQ ¶
DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.
func DurationMsNotIn ¶
DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.
func Error ¶
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEqualFold ¶
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorHasPrefix ¶
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIsNil ¶
ErrorIsNil applies the IsNil predicate on the "error" field.
func ErrorNotIn ¶
ErrorNotIn applies the NotIn predicate on the "error" field.
func ErrorNotNil ¶
ErrorNotNil applies the NotNil predicate on the "error" field.
func HasProxyWith ¶
HasProxyWith applies the HasEdge predicate on the "proxy" edge with a given conditions (other predicates).
func HostContains ¶
HostContains applies the Contains predicate on the "host" field.
func HostContainsFold ¶
HostContainsFold applies the ContainsFold predicate on the "host" field.
func HostEqualFold ¶
HostEqualFold applies the EqualFold predicate on the "host" field.
func HostHasPrefix ¶
HostHasPrefix applies the HasPrefix predicate on the "host" field.
func HostHasSuffix ¶
HostHasSuffix applies the HasSuffix predicate on the "host" field.
func Method ¶
Method applies equality check predicate on the "method" field. It's identical to MethodEQ.
func MethodContains ¶
MethodContains applies the Contains predicate on the "method" field.
func MethodContainsFold ¶
MethodContainsFold applies the ContainsFold predicate on the "method" field.
func MethodEqualFold ¶
MethodEqualFold applies the EqualFold predicate on the "method" field.
func MethodHasPrefix ¶
MethodHasPrefix applies the HasPrefix predicate on the "method" field.
func MethodHasSuffix ¶
MethodHasSuffix applies the HasSuffix predicate on the "method" field.
func MethodNotIn ¶
MethodNotIn applies the NotIn predicate on the "method" field.
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func Query ¶
Query applies equality check predicate on the "query" field. It's identical to QueryEQ.
func QueryContains ¶
QueryContains applies the Contains predicate on the "query" field.
func QueryContainsFold ¶
QueryContainsFold applies the ContainsFold predicate on the "query" field.
func QueryEqualFold ¶
QueryEqualFold applies the EqualFold predicate on the "query" field.
func QueryHasPrefix ¶
QueryHasPrefix applies the HasPrefix predicate on the "query" field.
func QueryHasSuffix ¶
QueryHasSuffix applies the HasSuffix predicate on the "query" field.
func QueryIsNil ¶
QueryIsNil applies the IsNil predicate on the "query" field.
func QueryNotIn ¶
QueryNotIn applies the NotIn predicate on the "query" field.
func QueryNotNil ¶
QueryNotNil applies the NotNil predicate on the "query" field.
func RequestBody ¶
RequestBody applies equality check predicate on the "request_body" field. It's identical to RequestBodyEQ.
func RequestBodyEQ ¶
RequestBodyEQ applies the EQ predicate on the "request_body" field.
func RequestBodyGT ¶
RequestBodyGT applies the GT predicate on the "request_body" field.
func RequestBodyGTE ¶
RequestBodyGTE applies the GTE predicate on the "request_body" field.
func RequestBodyIn ¶
RequestBodyIn applies the In predicate on the "request_body" field.
func RequestBodyIsNil ¶
RequestBodyIsNil applies the IsNil predicate on the "request_body" field.
func RequestBodyLT ¶
RequestBodyLT applies the LT predicate on the "request_body" field.
func RequestBodyLTE ¶
RequestBodyLTE applies the LTE predicate on the "request_body" field.
func RequestBodyNEQ ¶
RequestBodyNEQ applies the NEQ predicate on the "request_body" field.
func RequestBodyNotIn ¶
RequestBodyNotIn applies the NotIn predicate on the "request_body" field.
func RequestBodyNotNil ¶
RequestBodyNotNil applies the NotNil predicate on the "request_body" field.
func RequestBodySize ¶
RequestBodySize applies equality check predicate on the "request_body_size" field. It's identical to RequestBodySizeEQ.
func RequestBodySizeEQ ¶
RequestBodySizeEQ applies the EQ predicate on the "request_body_size" field.
func RequestBodySizeGT ¶
RequestBodySizeGT applies the GT predicate on the "request_body_size" field.
func RequestBodySizeGTE ¶
RequestBodySizeGTE applies the GTE predicate on the "request_body_size" field.
func RequestBodySizeIn ¶
RequestBodySizeIn applies the In predicate on the "request_body_size" field.
func RequestBodySizeLT ¶
RequestBodySizeLT applies the LT predicate on the "request_body_size" field.
func RequestBodySizeLTE ¶
RequestBodySizeLTE applies the LTE predicate on the "request_body_size" field.
func RequestBodySizeNEQ ¶
RequestBodySizeNEQ applies the NEQ predicate on the "request_body_size" field.
func RequestBodySizeNotIn ¶
RequestBodySizeNotIn applies the NotIn predicate on the "request_body_size" field.
func RequestHeadersIsNil ¶
RequestHeadersIsNil applies the IsNil predicate on the "request_headers" field.
func RequestHeadersNotNil ¶
RequestHeadersNotNil applies the NotNil predicate on the "request_headers" field.
func RequestIsBinary ¶
RequestIsBinary applies equality check predicate on the "request_is_binary" field. It's identical to RequestIsBinaryEQ.
func RequestIsBinaryEQ ¶
RequestIsBinaryEQ applies the EQ predicate on the "request_is_binary" field.
func RequestIsBinaryNEQ ¶
RequestIsBinaryNEQ applies the NEQ predicate on the "request_is_binary" field.
func ResponseBody ¶
ResponseBody applies equality check predicate on the "response_body" field. It's identical to ResponseBodyEQ.
func ResponseBodyEQ ¶
ResponseBodyEQ applies the EQ predicate on the "response_body" field.
func ResponseBodyGT ¶
ResponseBodyGT applies the GT predicate on the "response_body" field.
func ResponseBodyGTE ¶
ResponseBodyGTE applies the GTE predicate on the "response_body" field.
func ResponseBodyIn ¶
ResponseBodyIn applies the In predicate on the "response_body" field.
func ResponseBodyIsNil ¶
ResponseBodyIsNil applies the IsNil predicate on the "response_body" field.
func ResponseBodyLT ¶
ResponseBodyLT applies the LT predicate on the "response_body" field.
func ResponseBodyLTE ¶
ResponseBodyLTE applies the LTE predicate on the "response_body" field.
func ResponseBodyNEQ ¶
ResponseBodyNEQ applies the NEQ predicate on the "response_body" field.
func ResponseBodyNotIn ¶
ResponseBodyNotIn applies the NotIn predicate on the "response_body" field.
func ResponseBodyNotNil ¶
ResponseBodyNotNil applies the NotNil predicate on the "response_body" field.
func ResponseBodySize ¶
ResponseBodySize applies equality check predicate on the "response_body_size" field. It's identical to ResponseBodySizeEQ.
func ResponseBodySizeEQ ¶
ResponseBodySizeEQ applies the EQ predicate on the "response_body_size" field.
func ResponseBodySizeGT ¶
ResponseBodySizeGT applies the GT predicate on the "response_body_size" field.
func ResponseBodySizeGTE ¶
ResponseBodySizeGTE applies the GTE predicate on the "response_body_size" field.
func ResponseBodySizeIn ¶
ResponseBodySizeIn applies the In predicate on the "response_body_size" field.
func ResponseBodySizeLT ¶
ResponseBodySizeLT applies the LT predicate on the "response_body_size" field.
func ResponseBodySizeLTE ¶
ResponseBodySizeLTE applies the LTE predicate on the "response_body_size" field.
func ResponseBodySizeNEQ ¶
ResponseBodySizeNEQ applies the NEQ predicate on the "response_body_size" field.
func ResponseBodySizeNotIn ¶
ResponseBodySizeNotIn applies the NotIn predicate on the "response_body_size" field.
func ResponseContentType ¶
ResponseContentType applies equality check predicate on the "response_content_type" field. It's identical to ResponseContentTypeEQ.
func ResponseContentTypeContains ¶
ResponseContentTypeContains applies the Contains predicate on the "response_content_type" field.
func ResponseContentTypeContainsFold ¶
ResponseContentTypeContainsFold applies the ContainsFold predicate on the "response_content_type" field.
func ResponseContentTypeEQ ¶
ResponseContentTypeEQ applies the EQ predicate on the "response_content_type" field.
func ResponseContentTypeEqualFold ¶
ResponseContentTypeEqualFold applies the EqualFold predicate on the "response_content_type" field.
func ResponseContentTypeGT ¶
ResponseContentTypeGT applies the GT predicate on the "response_content_type" field.
func ResponseContentTypeGTE ¶
ResponseContentTypeGTE applies the GTE predicate on the "response_content_type" field.
func ResponseContentTypeHasPrefix ¶
ResponseContentTypeHasPrefix applies the HasPrefix predicate on the "response_content_type" field.
func ResponseContentTypeHasSuffix ¶
ResponseContentTypeHasSuffix applies the HasSuffix predicate on the "response_content_type" field.
func ResponseContentTypeIn ¶
ResponseContentTypeIn applies the In predicate on the "response_content_type" field.
func ResponseContentTypeIsNil ¶
ResponseContentTypeIsNil applies the IsNil predicate on the "response_content_type" field.
func ResponseContentTypeLT ¶
ResponseContentTypeLT applies the LT predicate on the "response_content_type" field.
func ResponseContentTypeLTE ¶
ResponseContentTypeLTE applies the LTE predicate on the "response_content_type" field.
func ResponseContentTypeNEQ ¶
ResponseContentTypeNEQ applies the NEQ predicate on the "response_content_type" field.
func ResponseContentTypeNotIn ¶
ResponseContentTypeNotIn applies the NotIn predicate on the "response_content_type" field.
func ResponseContentTypeNotNil ¶
ResponseContentTypeNotNil applies the NotNil predicate on the "response_content_type" field.
func ResponseHeadersIsNil ¶
ResponseHeadersIsNil applies the IsNil predicate on the "response_headers" field.
func ResponseHeadersNotNil ¶
ResponseHeadersNotNil applies the NotNil predicate on the "response_headers" field.
func ResponseIsBinary ¶
ResponseIsBinary applies equality check predicate on the "response_is_binary" field. It's identical to ResponseIsBinaryEQ.
func ResponseIsBinaryEQ ¶
ResponseIsBinaryEQ applies the EQ predicate on the "response_is_binary" field.
func ResponseIsBinaryNEQ ¶
ResponseIsBinaryNEQ applies the NEQ predicate on the "response_is_binary" field.
func Scheme ¶
Scheme applies equality check predicate on the "scheme" field. It's identical to SchemeEQ.
func SchemeContains ¶
SchemeContains applies the Contains predicate on the "scheme" field.
func SchemeContainsFold ¶
SchemeContainsFold applies the ContainsFold predicate on the "scheme" field.
func SchemeEqualFold ¶
SchemeEqualFold applies the EqualFold predicate on the "scheme" field.
func SchemeHasPrefix ¶
SchemeHasPrefix applies the HasPrefix predicate on the "scheme" field.
func SchemeHasSuffix ¶
SchemeHasSuffix applies the HasSuffix predicate on the "scheme" field.
func SchemeNotIn ¶
SchemeNotIn applies the NotIn predicate on the "scheme" field.
func StartedAt ¶
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtLT ¶
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func StatusCode ¶
StatusCode applies equality check predicate on the "status_code" field. It's identical to StatusCodeEQ.
func StatusCodeEQ ¶
StatusCodeEQ applies the EQ predicate on the "status_code" field.
func StatusCodeGT ¶
StatusCodeGT applies the GT predicate on the "status_code" field.
func StatusCodeGTE ¶
StatusCodeGTE applies the GTE predicate on the "status_code" field.
func StatusCodeIn ¶
StatusCodeIn applies the In predicate on the "status_code" field.
func StatusCodeLT ¶
StatusCodeLT applies the LT predicate on the "status_code" field.
func StatusCodeLTE ¶
StatusCodeLTE applies the LTE predicate on the "status_code" field.
func StatusCodeNEQ ¶
StatusCodeNEQ applies the NEQ predicate on the "status_code" field.
func StatusCodeNotIn ¶
StatusCodeNotIn applies the NotIn predicate on the "status_code" field.
func StatusText ¶
StatusText applies equality check predicate on the "status_text" field. It's identical to StatusTextEQ.
func StatusTextContains ¶
StatusTextContains applies the Contains predicate on the "status_text" field.
func StatusTextContainsFold ¶
StatusTextContainsFold applies the ContainsFold predicate on the "status_text" field.
func StatusTextEQ ¶
StatusTextEQ applies the EQ predicate on the "status_text" field.
func StatusTextEqualFold ¶
StatusTextEqualFold applies the EqualFold predicate on the "status_text" field.
func StatusTextGT ¶
StatusTextGT applies the GT predicate on the "status_text" field.
func StatusTextGTE ¶
StatusTextGTE applies the GTE predicate on the "status_text" field.
func StatusTextHasPrefix ¶
StatusTextHasPrefix applies the HasPrefix predicate on the "status_text" field.
func StatusTextHasSuffix ¶
StatusTextHasSuffix applies the HasSuffix predicate on the "status_text" field.
func StatusTextIn ¶
StatusTextIn applies the In predicate on the "status_text" field.
func StatusTextIsNil ¶
StatusTextIsNil applies the IsNil predicate on the "status_text" field.
func StatusTextLT ¶
StatusTextLT applies the LT predicate on the "status_text" field.
func StatusTextLTE ¶
StatusTextLTE applies the LTE predicate on the "status_text" field.
func StatusTextNEQ ¶
StatusTextNEQ applies the NEQ predicate on the "status_text" field.
func StatusTextNotIn ¶
StatusTextNotIn applies the NotIn predicate on the "status_text" field.
func StatusTextNotNil ¶
StatusTextNotNil applies the NotNil predicate on the "status_text" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func TtfbMs ¶
TtfbMs applies equality check predicate on the "ttfb_ms" field. It's identical to TtfbMsEQ.
func TtfbMsIsNil ¶
TtfbMsIsNil applies the IsNil predicate on the "ttfb_ms" field.
func TtfbMsNotIn ¶
TtfbMsNotIn applies the NotIn predicate on the "ttfb_ms" field.
func TtfbMsNotNil ¶
TtfbMsNotNil applies the NotNil predicate on the "ttfb_ms" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Traffic queries.
func ByClientIP ¶
func ByClientIP(opts ...sql.OrderTermOption) OrderOption
ByClientIP orders the results by the client_ip field.
func ByContentType ¶
func ByContentType(opts ...sql.OrderTermOption) OrderOption
ByContentType orders the results by the content_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDurationMs ¶
func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
ByDurationMs orders the results by the duration_ms field.
func ByError ¶
func ByError(opts ...sql.OrderTermOption) OrderOption
ByError orders the results by the error field.
func ByHost ¶
func ByHost(opts ...sql.OrderTermOption) OrderOption
ByHost orders the results by the host field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMethod ¶
func ByMethod(opts ...sql.OrderTermOption) OrderOption
ByMethod orders the results by the method field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func ByProxyField ¶
func ByProxyField(field string, opts ...sql.OrderTermOption) OrderOption
ByProxyField orders the results by proxy field.
func ByQuery ¶
func ByQuery(opts ...sql.OrderTermOption) OrderOption
ByQuery orders the results by the query field.
func ByRequestBodySize ¶
func ByRequestBodySize(opts ...sql.OrderTermOption) OrderOption
ByRequestBodySize orders the results by the request_body_size field.
func ByRequestIsBinary ¶
func ByRequestIsBinary(opts ...sql.OrderTermOption) OrderOption
ByRequestIsBinary orders the results by the request_is_binary field.
func ByResponseBodySize ¶
func ByResponseBodySize(opts ...sql.OrderTermOption) OrderOption
ByResponseBodySize orders the results by the response_body_size field.
func ByResponseContentType ¶
func ByResponseContentType(opts ...sql.OrderTermOption) OrderOption
ByResponseContentType orders the results by the response_content_type field.
func ByResponseIsBinary ¶
func ByResponseIsBinary(opts ...sql.OrderTermOption) OrderOption
ByResponseIsBinary orders the results by the response_is_binary field.
func ByScheme ¶
func ByScheme(opts ...sql.OrderTermOption) OrderOption
ByScheme orders the results by the scheme field.
func ByStartedAt ¶
func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
ByStartedAt orders the results by the started_at field.
func ByStatusCode ¶
func ByStatusCode(opts ...sql.OrderTermOption) OrderOption
ByStatusCode orders the results by the status_code field.
func ByStatusText ¶
func ByStatusText(opts ...sql.OrderTermOption) OrderOption
ByStatusText orders the results by the status_text field.
func ByTtfbMs ¶
func ByTtfbMs(opts ...sql.OrderTermOption) OrderOption
ByTtfbMs orders the results by the ttfb_ms field.
func ByURL ¶
func ByURL(opts ...sql.OrderTermOption) OrderOption
ByURL orders the results by the url field.