Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyServer) predicate.ProxyServer
- func City(v string) predicate.ProxyServer
- func CityContains(v string) predicate.ProxyServer
- func CityContainsFold(v string) predicate.ProxyServer
- func CityEQ(v string) predicate.ProxyServer
- func CityEqualFold(v string) predicate.ProxyServer
- func CityGT(v string) predicate.ProxyServer
- func CityGTE(v string) predicate.ProxyServer
- func CityHasPrefix(v string) predicate.ProxyServer
- func CityHasSuffix(v string) predicate.ProxyServer
- func CityIn(vs ...string) predicate.ProxyServer
- func CityLT(v string) predicate.ProxyServer
- func CityLTE(v string) predicate.ProxyServer
- func CityNEQ(v string) predicate.ProxyServer
- func CityNotIn(vs ...string) predicate.ProxyServer
- func Country(v string) predicate.ProxyServer
- func CountryContains(v string) predicate.ProxyServer
- func CountryContainsFold(v string) predicate.ProxyServer
- func CountryEQ(v string) predicate.ProxyServer
- func CountryEqualFold(v string) predicate.ProxyServer
- func CountryGT(v string) predicate.ProxyServer
- func CountryGTE(v string) predicate.ProxyServer
- func CountryHasPrefix(v string) predicate.ProxyServer
- func CountryHasSuffix(v string) predicate.ProxyServer
- func CountryIn(vs ...string) predicate.ProxyServer
- func CountryLT(v string) predicate.ProxyServer
- func CountryLTE(v string) predicate.ProxyServer
- func CountryNEQ(v string) predicate.ProxyServer
- func CountryNotIn(vs ...string) predicate.ProxyServer
- func CreatedAt(v time.Time) predicate.ProxyServer
- func CreatedAtEQ(v time.Time) predicate.ProxyServer
- func CreatedAtGT(v time.Time) predicate.ProxyServer
- func CreatedAtGTE(v time.Time) predicate.ProxyServer
- func CreatedAtIn(vs ...time.Time) predicate.ProxyServer
- func CreatedAtLT(v time.Time) predicate.ProxyServer
- func CreatedAtLTE(v time.Time) predicate.ProxyServer
- func CreatedAtNEQ(v time.Time) predicate.ProxyServer
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyServer
- func ID(id int64) predicate.ProxyServer
- func IDEQ(id int64) predicate.ProxyServer
- func IDGT(id int64) predicate.ProxyServer
- func IDGTE(id int64) predicate.ProxyServer
- func IDIn(ids ...int64) predicate.ProxyServer
- func IDLT(id int64) predicate.ProxyServer
- func IDLTE(id int64) predicate.ProxyServer
- func IDNEQ(id int64) predicate.ProxyServer
- func IDNotIn(ids ...int64) predicate.ProxyServer
- func LastReportedAt(v time.Time) predicate.ProxyServer
- func LastReportedAtEQ(v time.Time) predicate.ProxyServer
- func LastReportedAtGT(v time.Time) predicate.ProxyServer
- func LastReportedAtGTE(v time.Time) predicate.ProxyServer
- func LastReportedAtIn(vs ...time.Time) predicate.ProxyServer
- func LastReportedAtIsNil() predicate.ProxyServer
- func LastReportedAtLT(v time.Time) predicate.ProxyServer
- func LastReportedAtLTE(v time.Time) predicate.ProxyServer
- func LastReportedAtNEQ(v time.Time) predicate.ProxyServer
- func LastReportedAtNotIn(vs ...time.Time) predicate.ProxyServer
- func LastReportedAtNotNil() predicate.ProxyServer
- func Latitude(v string) predicate.ProxyServer
- func LatitudeCenter(v string) predicate.ProxyServer
- func LatitudeCenterContains(v string) predicate.ProxyServer
- func LatitudeCenterContainsFold(v string) predicate.ProxyServer
- func LatitudeCenterEQ(v string) predicate.ProxyServer
- func LatitudeCenterEqualFold(v string) predicate.ProxyServer
- func LatitudeCenterGT(v string) predicate.ProxyServer
- func LatitudeCenterGTE(v string) predicate.ProxyServer
- func LatitudeCenterHasPrefix(v string) predicate.ProxyServer
- func LatitudeCenterHasSuffix(v string) predicate.ProxyServer
- func LatitudeCenterIn(vs ...string) predicate.ProxyServer
- func LatitudeCenterLT(v string) predicate.ProxyServer
- func LatitudeCenterLTE(v string) predicate.ProxyServer
- func LatitudeCenterNEQ(v string) predicate.ProxyServer
- func LatitudeCenterNotIn(vs ...string) predicate.ProxyServer
- func LatitudeContains(v string) predicate.ProxyServer
- func LatitudeContainsFold(v string) predicate.ProxyServer
- func LatitudeEQ(v string) predicate.ProxyServer
- func LatitudeEqualFold(v string) predicate.ProxyServer
- func LatitudeGT(v string) predicate.ProxyServer
- func LatitudeGTE(v string) predicate.ProxyServer
- func LatitudeHasPrefix(v string) predicate.ProxyServer
- func LatitudeHasSuffix(v string) predicate.ProxyServer
- func LatitudeIn(vs ...string) predicate.ProxyServer
- func LatitudeLT(v string) predicate.ProxyServer
- func LatitudeLTE(v string) predicate.ProxyServer
- func LatitudeNEQ(v string) predicate.ProxyServer
- func LatitudeNotIn(vs ...string) predicate.ProxyServer
- func Longitude(v string) predicate.ProxyServer
- func LongitudeCenter(v string) predicate.ProxyServer
- func LongitudeCenterContains(v string) predicate.ProxyServer
- func LongitudeCenterContainsFold(v string) predicate.ProxyServer
- func LongitudeCenterEQ(v string) predicate.ProxyServer
- func LongitudeCenterEqualFold(v string) predicate.ProxyServer
- func LongitudeCenterGT(v string) predicate.ProxyServer
- func LongitudeCenterGTE(v string) predicate.ProxyServer
- func LongitudeCenterHasPrefix(v string) predicate.ProxyServer
- func LongitudeCenterHasSuffix(v string) predicate.ProxyServer
- func LongitudeCenterIn(vs ...string) predicate.ProxyServer
- func LongitudeCenterLT(v string) predicate.ProxyServer
- func LongitudeCenterLTE(v string) predicate.ProxyServer
- func LongitudeCenterNEQ(v string) predicate.ProxyServer
- func LongitudeCenterNotIn(vs ...string) predicate.ProxyServer
- func LongitudeContains(v string) predicate.ProxyServer
- func LongitudeContainsFold(v string) predicate.ProxyServer
- func LongitudeEQ(v string) predicate.ProxyServer
- func LongitudeEqualFold(v string) predicate.ProxyServer
- func LongitudeGT(v string) predicate.ProxyServer
- func LongitudeGTE(v string) predicate.ProxyServer
- func LongitudeHasPrefix(v string) predicate.ProxyServer
- func LongitudeHasSuffix(v string) predicate.ProxyServer
- func LongitudeIn(vs ...string) predicate.ProxyServer
- func LongitudeLT(v string) predicate.ProxyServer
- func LongitudeLTE(v string) predicate.ProxyServer
- func LongitudeNEQ(v string) predicate.ProxyServer
- func LongitudeNotIn(vs ...string) predicate.ProxyServer
- func Name(v string) predicate.ProxyServer
- func NameContains(v string) predicate.ProxyServer
- func NameContainsFold(v string) predicate.ProxyServer
- func NameEQ(v string) predicate.ProxyServer
- func NameEqualFold(v string) predicate.ProxyServer
- func NameGT(v string) predicate.ProxyServer
- func NameGTE(v string) predicate.ProxyServer
- func NameHasPrefix(v string) predicate.ProxyServer
- func NameHasSuffix(v string) predicate.ProxyServer
- func NameIn(vs ...string) predicate.ProxyServer
- func NameLT(v string) predicate.ProxyServer
- func NameLTE(v string) predicate.ProxyServer
- func NameNEQ(v string) predicate.ProxyServer
- func NameNotIn(vs ...string) predicate.ProxyServer
- func Not(p predicate.ProxyServer) predicate.ProxyServer
- func Or(predicates ...predicate.ProxyServer) predicate.ProxyServer
- func Protocol(v string) predicate.ProxyServer
- func ProtocolContains(v string) predicate.ProxyServer
- func ProtocolContainsFold(v string) predicate.ProxyServer
- func ProtocolEQ(v string) predicate.ProxyServer
- func ProtocolEqualFold(v string) predicate.ProxyServer
- func ProtocolGT(v string) predicate.ProxyServer
- func ProtocolGTE(v string) predicate.ProxyServer
- func ProtocolHasPrefix(v string) predicate.ProxyServer
- func ProtocolHasSuffix(v string) predicate.ProxyServer
- func ProtocolIn(vs ...string) predicate.ProxyServer
- func ProtocolIsNil() predicate.ProxyServer
- func ProtocolLT(v string) predicate.ProxyServer
- func ProtocolLTE(v string) predicate.ProxyServer
- func ProtocolNEQ(v string) predicate.ProxyServer
- func ProtocolNotIn(vs ...string) predicate.ProxyServer
- func ProtocolNotNil() predicate.ProxyServer
- func ServerAddr(v string) predicate.ProxyServer
- func ServerAddrContains(v string) predicate.ProxyServer
- func ServerAddrContainsFold(v string) predicate.ProxyServer
- func ServerAddrEQ(v string) predicate.ProxyServer
- func ServerAddrEqualFold(v string) predicate.ProxyServer
- func ServerAddrGT(v string) predicate.ProxyServer
- func ServerAddrGTE(v string) predicate.ProxyServer
- func ServerAddrHasPrefix(v string) predicate.ProxyServer
- func ServerAddrHasSuffix(v string) predicate.ProxyServer
- func ServerAddrIn(vs ...string) predicate.ProxyServer
- func ServerAddrLT(v string) predicate.ProxyServer
- func ServerAddrLTE(v string) predicate.ProxyServer
- func ServerAddrNEQ(v string) predicate.ProxyServer
- func ServerAddrNotIn(vs ...string) predicate.ProxyServer
- func Sort(v int32) predicate.ProxyServer
- func SortEQ(v int32) predicate.ProxyServer
- func SortGT(v int32) predicate.ProxyServer
- func SortGTE(v int32) predicate.ProxyServer
- func SortIn(vs ...int32) predicate.ProxyServer
- func SortLT(v int32) predicate.ProxyServer
- func SortLTE(v int32) predicate.ProxyServer
- func SortNEQ(v int32) predicate.ProxyServer
- func SortNotIn(vs ...int32) predicate.ProxyServer
- func UpdatedAt(v time.Time) predicate.ProxyServer
- func UpdatedAtEQ(v time.Time) predicate.ProxyServer
- func UpdatedAtGT(v time.Time) predicate.ProxyServer
- func UpdatedAtGTE(v time.Time) predicate.ProxyServer
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyServer
- func UpdatedAtLT(v time.Time) predicate.ProxyServer
- func UpdatedAtLTE(v time.Time) predicate.ProxyServer
- func UpdatedAtNEQ(v time.Time) predicate.ProxyServer
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyServer
- func ValidColumn(column string) bool
- type OrderOption
- func ByCity(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastReportedAt(opts ...sql.OrderTermOption) OrderOption
- func ByLatitude(opts ...sql.OrderTermOption) OrderOption
- func ByLatitudeCenter(opts ...sql.OrderTermOption) OrderOption
- func ByLongitude(opts ...sql.OrderTermOption) OrderOption
- func ByLongitudeCenter(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByProtocol(opts ...sql.OrderTermOption) OrderOption
- func ByServerAddr(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyserver type in the database. Label = "proxy_server" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldServerAddr holds the string denoting the server_addr field in the database. FieldServerAddr = "address" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldProtocol holds the string denoting the protocol field in the database. FieldProtocol = "protocols" // FieldLastReportedAt holds the string denoting the last_reported_at field in the database. FieldLastReportedAt = "last_reported_at" // FieldLongitude holds the string denoting the longitude field in the database. FieldLongitude = "longitude" // FieldLatitude holds the string denoting the latitude field in the database. FieldLatitude = "latitude" // FieldLongitudeCenter holds the string denoting the longitude_center field in the database. FieldLongitudeCenter = "longitude_center" // FieldLatitudeCenter holds the string denoting the latitude_center field in the database. FieldLatitudeCenter = "latitude_center" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the proxyserver in the database. Table = "servers" )
Variables ¶
var ( // DefaultName holds the default value on creation for the "name" field. DefaultName string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultCountry holds the default value on creation for the "country" field. DefaultCountry string // CountryValidator is a validator for the "country" field. It is called by the builders before save. CountryValidator func(string) error // DefaultCity holds the default value on creation for the "city" field. DefaultCity string // CityValidator is a validator for the "city" field. It is called by the builders before save. CityValidator func(string) error // DefaultServerAddr holds the default value on creation for the "server_addr" field. DefaultServerAddr string // ServerAddrValidator is a validator for the "server_addr" field. It is called by the builders before save. ServerAddrValidator func(string) error // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // DefaultLongitude holds the default value on creation for the "longitude" field. DefaultLongitude string // LongitudeValidator is a validator for the "longitude" field. It is called by the builders before save. LongitudeValidator func(string) error // DefaultLatitude holds the default value on creation for the "latitude" field. DefaultLatitude string // LatitudeValidator is a validator for the "latitude" field. It is called by the builders before save. LatitudeValidator func(string) error // DefaultLongitudeCenter holds the default value on creation for the "longitude_center" field. DefaultLongitudeCenter string // LongitudeCenterValidator is a validator for the "longitude_center" field. It is called by the builders before save. LongitudeCenterValidator func(string) error // DefaultLatitudeCenter holds the default value on creation for the "latitude_center" field. DefaultLatitudeCenter string // LatitudeCenterValidator is a validator for the "latitude_center" field. It is called by the builders before save. LatitudeCenterValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldName, FieldCountry, FieldCity, FieldServerAddr, FieldSort, FieldProtocol, FieldLastReportedAt, FieldLongitude, FieldLatitude, FieldLongitudeCenter, FieldLatitudeCenter, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyserver fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyServer) predicate.ProxyServer
And groups predicates with the AND operator between them.
func City ¶
func City(v string) predicate.ProxyServer
City applies equality check predicate on the "city" field. It's identical to CityEQ.
func CityContains ¶
func CityContains(v string) predicate.ProxyServer
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
func CityContainsFold(v string) predicate.ProxyServer
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEQ ¶
func CityEQ(v string) predicate.ProxyServer
CityEQ applies the EQ predicate on the "city" field.
func CityEqualFold ¶
func CityEqualFold(v string) predicate.ProxyServer
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityGT ¶
func CityGT(v string) predicate.ProxyServer
CityGT applies the GT predicate on the "city" field.
func CityGTE ¶
func CityGTE(v string) predicate.ProxyServer
CityGTE applies the GTE predicate on the "city" field.
func CityHasPrefix ¶
func CityHasPrefix(v string) predicate.ProxyServer
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
func CityHasSuffix(v string) predicate.ProxyServer
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func CityIn ¶
func CityIn(vs ...string) predicate.ProxyServer
CityIn applies the In predicate on the "city" field.
func CityLT ¶
func CityLT(v string) predicate.ProxyServer
CityLT applies the LT predicate on the "city" field.
func CityLTE ¶
func CityLTE(v string) predicate.ProxyServer
CityLTE applies the LTE predicate on the "city" field.
func CityNEQ ¶
func CityNEQ(v string) predicate.ProxyServer
CityNEQ applies the NEQ predicate on the "city" field.
func CityNotIn ¶
func CityNotIn(vs ...string) predicate.ProxyServer
CityNotIn applies the NotIn predicate on the "city" field.
func Country ¶
func Country(v string) predicate.ProxyServer
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
func CountryContains(v string) predicate.ProxyServer
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
func CountryContainsFold(v string) predicate.ProxyServer
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEQ ¶
func CountryEQ(v string) predicate.ProxyServer
CountryEQ applies the EQ predicate on the "country" field.
func CountryEqualFold ¶
func CountryEqualFold(v string) predicate.ProxyServer
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGT ¶
func CountryGT(v string) predicate.ProxyServer
CountryGT applies the GT predicate on the "country" field.
func CountryGTE ¶
func CountryGTE(v string) predicate.ProxyServer
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
func CountryHasPrefix(v string) predicate.ProxyServer
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
func CountryHasSuffix(v string) predicate.ProxyServer
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIn ¶
func CountryIn(vs ...string) predicate.ProxyServer
CountryIn applies the In predicate on the "country" field.
func CountryLT ¶
func CountryLT(v string) predicate.ProxyServer
CountryLT applies the LT predicate on the "country" field.
func CountryLTE ¶
func CountryLTE(v string) predicate.ProxyServer
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
func CountryNEQ(v string) predicate.ProxyServer
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
func CountryNotIn(vs ...string) predicate.ProxyServer
CountryNotIn applies the NotIn predicate on the "country" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyServer
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyServer
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyServer
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyServer
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyServer
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyServer
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyServer
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyServer
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyServer
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyServer
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyServer
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyServer
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyServer
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyServer
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyServer
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyServer
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyServer
IDNotIn applies the NotIn predicate on the ID field.
func LastReportedAt ¶
func LastReportedAt(v time.Time) predicate.ProxyServer
LastReportedAt applies equality check predicate on the "last_reported_at" field. It's identical to LastReportedAtEQ.
func LastReportedAtEQ ¶
func LastReportedAtEQ(v time.Time) predicate.ProxyServer
LastReportedAtEQ applies the EQ predicate on the "last_reported_at" field.
func LastReportedAtGT ¶
func LastReportedAtGT(v time.Time) predicate.ProxyServer
LastReportedAtGT applies the GT predicate on the "last_reported_at" field.
func LastReportedAtGTE ¶
func LastReportedAtGTE(v time.Time) predicate.ProxyServer
LastReportedAtGTE applies the GTE predicate on the "last_reported_at" field.
func LastReportedAtIn ¶
func LastReportedAtIn(vs ...time.Time) predicate.ProxyServer
LastReportedAtIn applies the In predicate on the "last_reported_at" field.
func LastReportedAtIsNil ¶
func LastReportedAtIsNil() predicate.ProxyServer
LastReportedAtIsNil applies the IsNil predicate on the "last_reported_at" field.
func LastReportedAtLT ¶
func LastReportedAtLT(v time.Time) predicate.ProxyServer
LastReportedAtLT applies the LT predicate on the "last_reported_at" field.
func LastReportedAtLTE ¶
func LastReportedAtLTE(v time.Time) predicate.ProxyServer
LastReportedAtLTE applies the LTE predicate on the "last_reported_at" field.
func LastReportedAtNEQ ¶
func LastReportedAtNEQ(v time.Time) predicate.ProxyServer
LastReportedAtNEQ applies the NEQ predicate on the "last_reported_at" field.
func LastReportedAtNotIn ¶
func LastReportedAtNotIn(vs ...time.Time) predicate.ProxyServer
LastReportedAtNotIn applies the NotIn predicate on the "last_reported_at" field.
func LastReportedAtNotNil ¶
func LastReportedAtNotNil() predicate.ProxyServer
LastReportedAtNotNil applies the NotNil predicate on the "last_reported_at" field.
func Latitude ¶
func Latitude(v string) predicate.ProxyServer
Latitude applies equality check predicate on the "latitude" field. It's identical to LatitudeEQ.
func LatitudeCenter ¶
func LatitudeCenter(v string) predicate.ProxyServer
LatitudeCenter applies equality check predicate on the "latitude_center" field. It's identical to LatitudeCenterEQ.
func LatitudeCenterContains ¶
func LatitudeCenterContains(v string) predicate.ProxyServer
LatitudeCenterContains applies the Contains predicate on the "latitude_center" field.
func LatitudeCenterContainsFold ¶
func LatitudeCenterContainsFold(v string) predicate.ProxyServer
LatitudeCenterContainsFold applies the ContainsFold predicate on the "latitude_center" field.
func LatitudeCenterEQ ¶
func LatitudeCenterEQ(v string) predicate.ProxyServer
LatitudeCenterEQ applies the EQ predicate on the "latitude_center" field.
func LatitudeCenterEqualFold ¶
func LatitudeCenterEqualFold(v string) predicate.ProxyServer
LatitudeCenterEqualFold applies the EqualFold predicate on the "latitude_center" field.
func LatitudeCenterGT ¶
func LatitudeCenterGT(v string) predicate.ProxyServer
LatitudeCenterGT applies the GT predicate on the "latitude_center" field.
func LatitudeCenterGTE ¶
func LatitudeCenterGTE(v string) predicate.ProxyServer
LatitudeCenterGTE applies the GTE predicate on the "latitude_center" field.
func LatitudeCenterHasPrefix ¶
func LatitudeCenterHasPrefix(v string) predicate.ProxyServer
LatitudeCenterHasPrefix applies the HasPrefix predicate on the "latitude_center" field.
func LatitudeCenterHasSuffix ¶
func LatitudeCenterHasSuffix(v string) predicate.ProxyServer
LatitudeCenterHasSuffix applies the HasSuffix predicate on the "latitude_center" field.
func LatitudeCenterIn ¶
func LatitudeCenterIn(vs ...string) predicate.ProxyServer
LatitudeCenterIn applies the In predicate on the "latitude_center" field.
func LatitudeCenterLT ¶
func LatitudeCenterLT(v string) predicate.ProxyServer
LatitudeCenterLT applies the LT predicate on the "latitude_center" field.
func LatitudeCenterLTE ¶
func LatitudeCenterLTE(v string) predicate.ProxyServer
LatitudeCenterLTE applies the LTE predicate on the "latitude_center" field.
func LatitudeCenterNEQ ¶
func LatitudeCenterNEQ(v string) predicate.ProxyServer
LatitudeCenterNEQ applies the NEQ predicate on the "latitude_center" field.
func LatitudeCenterNotIn ¶
func LatitudeCenterNotIn(vs ...string) predicate.ProxyServer
LatitudeCenterNotIn applies the NotIn predicate on the "latitude_center" field.
func LatitudeContains ¶
func LatitudeContains(v string) predicate.ProxyServer
LatitudeContains applies the Contains predicate on the "latitude" field.
func LatitudeContainsFold ¶
func LatitudeContainsFold(v string) predicate.ProxyServer
LatitudeContainsFold applies the ContainsFold predicate on the "latitude" field.
func LatitudeEQ ¶
func LatitudeEQ(v string) predicate.ProxyServer
LatitudeEQ applies the EQ predicate on the "latitude" field.
func LatitudeEqualFold ¶
func LatitudeEqualFold(v string) predicate.ProxyServer
LatitudeEqualFold applies the EqualFold predicate on the "latitude" field.
func LatitudeGT ¶
func LatitudeGT(v string) predicate.ProxyServer
LatitudeGT applies the GT predicate on the "latitude" field.
func LatitudeGTE ¶
func LatitudeGTE(v string) predicate.ProxyServer
LatitudeGTE applies the GTE predicate on the "latitude" field.
func LatitudeHasPrefix ¶
func LatitudeHasPrefix(v string) predicate.ProxyServer
LatitudeHasPrefix applies the HasPrefix predicate on the "latitude" field.
func LatitudeHasSuffix ¶
func LatitudeHasSuffix(v string) predicate.ProxyServer
LatitudeHasSuffix applies the HasSuffix predicate on the "latitude" field.
func LatitudeIn ¶
func LatitudeIn(vs ...string) predicate.ProxyServer
LatitudeIn applies the In predicate on the "latitude" field.
func LatitudeLT ¶
func LatitudeLT(v string) predicate.ProxyServer
LatitudeLT applies the LT predicate on the "latitude" field.
func LatitudeLTE ¶
func LatitudeLTE(v string) predicate.ProxyServer
LatitudeLTE applies the LTE predicate on the "latitude" field.
func LatitudeNEQ ¶
func LatitudeNEQ(v string) predicate.ProxyServer
LatitudeNEQ applies the NEQ predicate on the "latitude" field.
func LatitudeNotIn ¶
func LatitudeNotIn(vs ...string) predicate.ProxyServer
LatitudeNotIn applies the NotIn predicate on the "latitude" field.
func Longitude ¶
func Longitude(v string) predicate.ProxyServer
Longitude applies equality check predicate on the "longitude" field. It's identical to LongitudeEQ.
func LongitudeCenter ¶
func LongitudeCenter(v string) predicate.ProxyServer
LongitudeCenter applies equality check predicate on the "longitude_center" field. It's identical to LongitudeCenterEQ.
func LongitudeCenterContains ¶
func LongitudeCenterContains(v string) predicate.ProxyServer
LongitudeCenterContains applies the Contains predicate on the "longitude_center" field.
func LongitudeCenterContainsFold ¶
func LongitudeCenterContainsFold(v string) predicate.ProxyServer
LongitudeCenterContainsFold applies the ContainsFold predicate on the "longitude_center" field.
func LongitudeCenterEQ ¶
func LongitudeCenterEQ(v string) predicate.ProxyServer
LongitudeCenterEQ applies the EQ predicate on the "longitude_center" field.
func LongitudeCenterEqualFold ¶
func LongitudeCenterEqualFold(v string) predicate.ProxyServer
LongitudeCenterEqualFold applies the EqualFold predicate on the "longitude_center" field.
func LongitudeCenterGT ¶
func LongitudeCenterGT(v string) predicate.ProxyServer
LongitudeCenterGT applies the GT predicate on the "longitude_center" field.
func LongitudeCenterGTE ¶
func LongitudeCenterGTE(v string) predicate.ProxyServer
LongitudeCenterGTE applies the GTE predicate on the "longitude_center" field.
func LongitudeCenterHasPrefix ¶
func LongitudeCenterHasPrefix(v string) predicate.ProxyServer
LongitudeCenterHasPrefix applies the HasPrefix predicate on the "longitude_center" field.
func LongitudeCenterHasSuffix ¶
func LongitudeCenterHasSuffix(v string) predicate.ProxyServer
LongitudeCenterHasSuffix applies the HasSuffix predicate on the "longitude_center" field.
func LongitudeCenterIn ¶
func LongitudeCenterIn(vs ...string) predicate.ProxyServer
LongitudeCenterIn applies the In predicate on the "longitude_center" field.
func LongitudeCenterLT ¶
func LongitudeCenterLT(v string) predicate.ProxyServer
LongitudeCenterLT applies the LT predicate on the "longitude_center" field.
func LongitudeCenterLTE ¶
func LongitudeCenterLTE(v string) predicate.ProxyServer
LongitudeCenterLTE applies the LTE predicate on the "longitude_center" field.
func LongitudeCenterNEQ ¶
func LongitudeCenterNEQ(v string) predicate.ProxyServer
LongitudeCenterNEQ applies the NEQ predicate on the "longitude_center" field.
func LongitudeCenterNotIn ¶
func LongitudeCenterNotIn(vs ...string) predicate.ProxyServer
LongitudeCenterNotIn applies the NotIn predicate on the "longitude_center" field.
func LongitudeContains ¶
func LongitudeContains(v string) predicate.ProxyServer
LongitudeContains applies the Contains predicate on the "longitude" field.
func LongitudeContainsFold ¶
func LongitudeContainsFold(v string) predicate.ProxyServer
LongitudeContainsFold applies the ContainsFold predicate on the "longitude" field.
func LongitudeEQ ¶
func LongitudeEQ(v string) predicate.ProxyServer
LongitudeEQ applies the EQ predicate on the "longitude" field.
func LongitudeEqualFold ¶
func LongitudeEqualFold(v string) predicate.ProxyServer
LongitudeEqualFold applies the EqualFold predicate on the "longitude" field.
func LongitudeGT ¶
func LongitudeGT(v string) predicate.ProxyServer
LongitudeGT applies the GT predicate on the "longitude" field.
func LongitudeGTE ¶
func LongitudeGTE(v string) predicate.ProxyServer
LongitudeGTE applies the GTE predicate on the "longitude" field.
func LongitudeHasPrefix ¶
func LongitudeHasPrefix(v string) predicate.ProxyServer
LongitudeHasPrefix applies the HasPrefix predicate on the "longitude" field.
func LongitudeHasSuffix ¶
func LongitudeHasSuffix(v string) predicate.ProxyServer
LongitudeHasSuffix applies the HasSuffix predicate on the "longitude" field.
func LongitudeIn ¶
func LongitudeIn(vs ...string) predicate.ProxyServer
LongitudeIn applies the In predicate on the "longitude" field.
func LongitudeLT ¶
func LongitudeLT(v string) predicate.ProxyServer
LongitudeLT applies the LT predicate on the "longitude" field.
func LongitudeLTE ¶
func LongitudeLTE(v string) predicate.ProxyServer
LongitudeLTE applies the LTE predicate on the "longitude" field.
func LongitudeNEQ ¶
func LongitudeNEQ(v string) predicate.ProxyServer
LongitudeNEQ applies the NEQ predicate on the "longitude" field.
func LongitudeNotIn ¶
func LongitudeNotIn(vs ...string) predicate.ProxyServer
LongitudeNotIn applies the NotIn predicate on the "longitude" field.
func Name ¶
func Name(v string) predicate.ProxyServer
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProxyServer
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProxyServer
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProxyServer
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProxyServer
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProxyServer
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProxyServer
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProxyServer
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProxyServer
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProxyServer
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProxyServer
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProxyServer
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProxyServer
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProxyServer
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ProxyServer) predicate.ProxyServer
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyServer) predicate.ProxyServer
Or groups predicates with the OR operator between them.
func Protocol ¶
func Protocol(v string) predicate.ProxyServer
Protocol applies equality check predicate on the "protocol" field. It's identical to ProtocolEQ.
func ProtocolContains ¶
func ProtocolContains(v string) predicate.ProxyServer
ProtocolContains applies the Contains predicate on the "protocol" field.
func ProtocolContainsFold ¶
func ProtocolContainsFold(v string) predicate.ProxyServer
ProtocolContainsFold applies the ContainsFold predicate on the "protocol" field.
func ProtocolEQ ¶
func ProtocolEQ(v string) predicate.ProxyServer
ProtocolEQ applies the EQ predicate on the "protocol" field.
func ProtocolEqualFold ¶
func ProtocolEqualFold(v string) predicate.ProxyServer
ProtocolEqualFold applies the EqualFold predicate on the "protocol" field.
func ProtocolGT ¶
func ProtocolGT(v string) predicate.ProxyServer
ProtocolGT applies the GT predicate on the "protocol" field.
func ProtocolGTE ¶
func ProtocolGTE(v string) predicate.ProxyServer
ProtocolGTE applies the GTE predicate on the "protocol" field.
func ProtocolHasPrefix ¶
func ProtocolHasPrefix(v string) predicate.ProxyServer
ProtocolHasPrefix applies the HasPrefix predicate on the "protocol" field.
func ProtocolHasSuffix ¶
func ProtocolHasSuffix(v string) predicate.ProxyServer
ProtocolHasSuffix applies the HasSuffix predicate on the "protocol" field.
func ProtocolIn ¶
func ProtocolIn(vs ...string) predicate.ProxyServer
ProtocolIn applies the In predicate on the "protocol" field.
func ProtocolIsNil ¶
func ProtocolIsNil() predicate.ProxyServer
ProtocolIsNil applies the IsNil predicate on the "protocol" field.
func ProtocolLT ¶
func ProtocolLT(v string) predicate.ProxyServer
ProtocolLT applies the LT predicate on the "protocol" field.
func ProtocolLTE ¶
func ProtocolLTE(v string) predicate.ProxyServer
ProtocolLTE applies the LTE predicate on the "protocol" field.
func ProtocolNEQ ¶
func ProtocolNEQ(v string) predicate.ProxyServer
ProtocolNEQ applies the NEQ predicate on the "protocol" field.
func ProtocolNotIn ¶
func ProtocolNotIn(vs ...string) predicate.ProxyServer
ProtocolNotIn applies the NotIn predicate on the "protocol" field.
func ProtocolNotNil ¶
func ProtocolNotNil() predicate.ProxyServer
ProtocolNotNil applies the NotNil predicate on the "protocol" field.
func ServerAddr ¶
func ServerAddr(v string) predicate.ProxyServer
ServerAddr applies equality check predicate on the "server_addr" field. It's identical to ServerAddrEQ.
func ServerAddrContains ¶
func ServerAddrContains(v string) predicate.ProxyServer
ServerAddrContains applies the Contains predicate on the "server_addr" field.
func ServerAddrContainsFold ¶
func ServerAddrContainsFold(v string) predicate.ProxyServer
ServerAddrContainsFold applies the ContainsFold predicate on the "server_addr" field.
func ServerAddrEQ ¶
func ServerAddrEQ(v string) predicate.ProxyServer
ServerAddrEQ applies the EQ predicate on the "server_addr" field.
func ServerAddrEqualFold ¶
func ServerAddrEqualFold(v string) predicate.ProxyServer
ServerAddrEqualFold applies the EqualFold predicate on the "server_addr" field.
func ServerAddrGT ¶
func ServerAddrGT(v string) predicate.ProxyServer
ServerAddrGT applies the GT predicate on the "server_addr" field.
func ServerAddrGTE ¶
func ServerAddrGTE(v string) predicate.ProxyServer
ServerAddrGTE applies the GTE predicate on the "server_addr" field.
func ServerAddrHasPrefix ¶
func ServerAddrHasPrefix(v string) predicate.ProxyServer
ServerAddrHasPrefix applies the HasPrefix predicate on the "server_addr" field.
func ServerAddrHasSuffix ¶
func ServerAddrHasSuffix(v string) predicate.ProxyServer
ServerAddrHasSuffix applies the HasSuffix predicate on the "server_addr" field.
func ServerAddrIn ¶
func ServerAddrIn(vs ...string) predicate.ProxyServer
ServerAddrIn applies the In predicate on the "server_addr" field.
func ServerAddrLT ¶
func ServerAddrLT(v string) predicate.ProxyServer
ServerAddrLT applies the LT predicate on the "server_addr" field.
func ServerAddrLTE ¶
func ServerAddrLTE(v string) predicate.ProxyServer
ServerAddrLTE applies the LTE predicate on the "server_addr" field.
func ServerAddrNEQ ¶
func ServerAddrNEQ(v string) predicate.ProxyServer
ServerAddrNEQ applies the NEQ predicate on the "server_addr" field.
func ServerAddrNotIn ¶
func ServerAddrNotIn(vs ...string) predicate.ProxyServer
ServerAddrNotIn applies the NotIn predicate on the "server_addr" field.
func Sort ¶
func Sort(v int32) predicate.ProxyServer
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v int32) predicate.ProxyServer
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v int32) predicate.ProxyServer
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v int32) predicate.ProxyServer
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...int32) predicate.ProxyServer
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v int32) predicate.ProxyServer
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v int32) predicate.ProxyServer
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v int32) predicate.ProxyServer
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...int32) predicate.ProxyServer
SortNotIn applies the NotIn predicate on the "sort" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyServer
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyServer
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyServer
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyServer
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyServer
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyServer
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyServer
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyServer
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyServer
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 ProxyServer queries.
func ByCity ¶
func ByCity(opts ...sql.OrderTermOption) OrderOption
ByCity orders the results by the city field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastReportedAt ¶
func ByLastReportedAt(opts ...sql.OrderTermOption) OrderOption
ByLastReportedAt orders the results by the last_reported_at field.
func ByLatitude ¶
func ByLatitude(opts ...sql.OrderTermOption) OrderOption
ByLatitude orders the results by the latitude field.
func ByLatitudeCenter ¶
func ByLatitudeCenter(opts ...sql.OrderTermOption) OrderOption
ByLatitudeCenter orders the results by the latitude_center field.
func ByLongitude ¶
func ByLongitude(opts ...sql.OrderTermOption) OrderOption
ByLongitude orders the results by the longitude field.
func ByLongitudeCenter ¶
func ByLongitudeCenter(opts ...sql.OrderTermOption) OrderOption
ByLongitudeCenter orders the results by the longitude_center field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByProtocol ¶
func ByProtocol(opts ...sql.OrderTermOption) OrderOption
ByProtocol orders the results by the protocol field.
func ByServerAddr ¶
func ByServerAddr(opts ...sql.OrderTermOption) OrderOption
ByServerAddr orders the results by the server_addr field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.