Documentation ¶
Index ¶
- Variables
- type Area
- type Band
- type Block
- type Carrier
- type Cell
- type City
- type Clutter
- type Continent
- type Country
- type CreateAreaParams
- type CreateBandParams
- type CreateBlockParams
- type CreateCarrierParams
- type CreateCellParams
- type CreateCityParams
- type CreateClutterParams
- type CreateContinentParams
- type CreateCountryParams
- type CreateDistrictParams
- type CreatePropertyParams
- type CreateServiceareatypeParams
- type CreateSessionParams
- type CreateSiteParams
- type CreateSitetypeParams
- type CreateStateParams
- type CreateTechParams
- type CreateTownParams
- type CreateTrafficParams
- type CreateUserParams
- type CreateVendorParams
- type DBTX
- type District
- type ListAreasParams
- type ListBandsParams
- type ListBlocksParams
- type ListCarriersParams
- type ListCellsParams
- type ListCitiesParams
- type ListCluttersParams
- type ListContinentsParams
- type ListCountriesParams
- type ListDistrictsParams
- type ListPropertiesParams
- type ListServiceareatypesParams
- type ListSessionsParams
- type ListSitesParams
- type ListSitetypesParams
- type ListStatesParams
- type ListTechsParams
- type ListTownsParams
- type ListTrafficParams
- type ListUsersParams
- type ListVendorsParams
- type Property
- type Querier
- type Queries
- func (q *Queries) CreateArea(ctx context.Context, arg CreateAreaParams) (Area, error)
- func (q *Queries) CreateBand(ctx context.Context, arg CreateBandParams) (Band, error)
- func (q *Queries) CreateBlock(ctx context.Context, arg CreateBlockParams) (Block, error)
- func (q *Queries) CreateCarrier(ctx context.Context, arg CreateCarrierParams) (Carrier, error)
- func (q *Queries) CreateCell(ctx context.Context, arg CreateCellParams) (Cell, error)
- func (q *Queries) CreateCity(ctx context.Context, arg CreateCityParams) (City, error)
- func (q *Queries) CreateClutter(ctx context.Context, arg CreateClutterParams) (Clutter, error)
- func (q *Queries) CreateContinent(ctx context.Context, arg CreateContinentParams) (Continent, error)
- func (q *Queries) CreateCountry(ctx context.Context, arg CreateCountryParams) (Country, error)
- func (q *Queries) CreateDistrict(ctx context.Context, arg CreateDistrictParams) (District, error)
- func (q *Queries) CreateProperty(ctx context.Context, arg CreatePropertyParams) (Property, error)
- func (q *Queries) CreateServiceareatype(ctx context.Context, arg CreateServiceareatypeParams) (Serviceareatype, error)
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
- func (q *Queries) CreateSite(ctx context.Context, arg CreateSiteParams) (Site, error)
- func (q *Queries) CreateSitetype(ctx context.Context, arg CreateSitetypeParams) (Sitetype, error)
- func (q *Queries) CreateState(ctx context.Context, arg CreateStateParams) (State, error)
- func (q *Queries) CreateTech(ctx context.Context, arg CreateTechParams) (Tech, error)
- func (q *Queries) CreateTown(ctx context.Context, arg CreateTownParams) (Town, error)
- func (q *Queries) CreateTraffic(ctx context.Context, arg CreateTrafficParams) (Traffic, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) CreateVendor(ctx context.Context, arg CreateVendorParams) (Vendor, error)
- func (q *Queries) DeleteArea(ctx context.Context, id int64) error
- func (q *Queries) DeleteBand(ctx context.Context, id int64) error
- func (q *Queries) DeleteBlock(ctx context.Context, id int64) error
- func (q *Queries) DeleteCarrier(ctx context.Context, id int64) error
- func (q *Queries) DeleteCell(ctx context.Context, id int64) error
- func (q *Queries) DeleteCity(ctx context.Context, id int64) error
- func (q *Queries) DeleteClutter(ctx context.Context, id int64) error
- func (q *Queries) DeleteContinent(ctx context.Context, id int64) error
- func (q *Queries) DeleteCountry(ctx context.Context, id int64) error
- func (q *Queries) DeleteDistrict(ctx context.Context, id int64) error
- func (q *Queries) DeleteProperty(ctx context.Context, id int64) error
- func (q *Queries) DeleteServiceareatype(ctx context.Context, id int64) error
- func (q *Queries) DeleteSession(ctx context.Context, id uuid.UUID) error
- func (q *Queries) DeleteSite(ctx context.Context, id int64) error
- func (q *Queries) DeleteSitetype(ctx context.Context, id int64) error
- func (q *Queries) DeleteState(ctx context.Context, id int64) error
- func (q *Queries) DeleteTech(ctx context.Context, id int64) error
- func (q *Queries) DeleteTown(ctx context.Context, id int64) error
- func (q *Queries) DeleteTraffic(ctx context.Context, id int64) error
- func (q *Queries) DeleteUser(ctx context.Context, username string) error
- func (q *Queries) DeleteVendor(ctx context.Context, id int64) error
- func (q *Queries) GetArea0(ctx context.Context, id int64) (Area, error)
- func (q *Queries) GetArea1(ctx context.Context, areaName string) (Area, error)
- func (q *Queries) GetBand0(ctx context.Context, id int64) (Band, error)
- func (q *Queries) GetBand1(ctx context.Context, bandName string) (Band, error)
- func (q *Queries) GetBlock0(ctx context.Context, id int64) (Block, error)
- func (q *Queries) GetBlock1(ctx context.Context, blockName string) (Block, error)
- func (q *Queries) GetCarrier0(ctx context.Context, id int64) (Carrier, error)
- func (q *Queries) GetCarrier1(ctx context.Context, carrierName string) (Carrier, error)
- func (q *Queries) GetCell0(ctx context.Context, id int64) (Cell, error)
- func (q *Queries) GetCell1(ctx context.Context, cellName string) (Cell, error)
- func (q *Queries) GetCity0(ctx context.Context, id int64) (City, error)
- func (q *Queries) GetCity1(ctx context.Context, cityName string) (City, error)
- func (q *Queries) GetClutter0(ctx context.Context, id int64) (Clutter, error)
- func (q *Queries) GetClutter1(ctx context.Context, clutterName string) (Clutter, error)
- func (q *Queries) GetContinent0(ctx context.Context, id int64) (Continent, error)
- func (q *Queries) GetContinent1(ctx context.Context, continentName string) (Continent, error)
- func (q *Queries) GetCountry0(ctx context.Context, id int64) (Country, error)
- func (q *Queries) GetCountry1(ctx context.Context, countryName string) (Country, error)
- func (q *Queries) GetDistrict0(ctx context.Context, id int64) (District, error)
- func (q *Queries) GetDistrict1(ctx context.Context, districtName string) (District, error)
- func (q *Queries) GetProperty0(ctx context.Context, id int64) (Property, error)
- func (q *Queries) GetProperty1(ctx context.Context, propertyName string) (Property, error)
- func (q *Queries) GetServiceareatype0(ctx context.Context, id int64) (Serviceareatype, error)
- func (q *Queries) GetServiceareatype1(ctx context.Context, serviceareatypeName string) (Serviceareatype, error)
- func (q *Queries) GetSession0(ctx context.Context, id uuid.UUID) (Session, error)
- func (q *Queries) GetSite0(ctx context.Context, id int64) (Site, error)
- func (q *Queries) GetSite1(ctx context.Context, siteName string) (Site, error)
- func (q *Queries) GetSitetype0(ctx context.Context, id int64) (Sitetype, error)
- func (q *Queries) GetSitetype1(ctx context.Context, typeName string) (Sitetype, error)
- func (q *Queries) GetState0(ctx context.Context, id int64) (State, error)
- func (q *Queries) GetState1(ctx context.Context, stateName string) (State, error)
- func (q *Queries) GetTech0(ctx context.Context, id int64) (Tech, error)
- func (q *Queries) GetTech1(ctx context.Context, techName string) (Tech, error)
- func (q *Queries) GetTown0(ctx context.Context, id int64) (Town, error)
- func (q *Queries) GetTown1(ctx context.Context, townName string) (Town, error)
- func (q *Queries) GetTraffic0(ctx context.Context, id int64) (Traffic, error)
- func (q *Queries) GetUser0(ctx context.Context, username string) (User, error)
- func (q *Queries) GetUser3(ctx context.Context, email string) (User, error)
- func (q *Queries) GetVendor0(ctx context.Context, id int64) (Vendor, error)
- func (q *Queries) GetVendor1(ctx context.Context, vendorName string) (Vendor, error)
- func (q *Queries) ListAreas(ctx context.Context, arg ListAreasParams) ([]Area, error)
- func (q *Queries) ListBands(ctx context.Context, arg ListBandsParams) ([]Band, error)
- func (q *Queries) ListBlocks(ctx context.Context, arg ListBlocksParams) ([]Block, error)
- func (q *Queries) ListCarriers(ctx context.Context, arg ListCarriersParams) ([]Carrier, error)
- func (q *Queries) ListCells(ctx context.Context, arg ListCellsParams) ([]Cell, error)
- func (q *Queries) ListCities(ctx context.Context, arg ListCitiesParams) ([]City, error)
- func (q *Queries) ListClutters(ctx context.Context, arg ListCluttersParams) ([]Clutter, error)
- func (q *Queries) ListContinents(ctx context.Context, arg ListContinentsParams) ([]Continent, error)
- func (q *Queries) ListCountries(ctx context.Context, arg ListCountriesParams) ([]Country, error)
- func (q *Queries) ListDistricts(ctx context.Context, arg ListDistrictsParams) ([]District, error)
- func (q *Queries) ListProperties(ctx context.Context, arg ListPropertiesParams) ([]Property, error)
- func (q *Queries) ListServiceareatypes(ctx context.Context, arg ListServiceareatypesParams) ([]Serviceareatype, error)
- func (q *Queries) ListSessions(ctx context.Context, arg ListSessionsParams) ([]Session, error)
- func (q *Queries) ListSites(ctx context.Context, arg ListSitesParams) ([]Site, error)
- func (q *Queries) ListSitetypes(ctx context.Context, arg ListSitetypesParams) ([]Sitetype, error)
- func (q *Queries) ListStates(ctx context.Context, arg ListStatesParams) ([]State, error)
- func (q *Queries) ListTechs(ctx context.Context, arg ListTechsParams) ([]Tech, error)
- func (q *Queries) ListTowns(ctx context.Context, arg ListTownsParams) ([]Town, error)
- func (q *Queries) ListTraffic(ctx context.Context, arg ListTrafficParams) ([]Traffic, error)
- func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]User, error)
- func (q *Queries) ListVendors(ctx context.Context, arg ListVendorsParams) ([]Vendor, error)
- func (q *Queries) UpdateArea(ctx context.Context, arg UpdateAreaParams) (Area, error)
- func (q *Queries) UpdateBand(ctx context.Context, arg UpdateBandParams) (Band, error)
- func (q *Queries) UpdateBlock(ctx context.Context, arg UpdateBlockParams) (Block, error)
- func (q *Queries) UpdateCarrier(ctx context.Context, arg UpdateCarrierParams) (Carrier, error)
- func (q *Queries) UpdateCell(ctx context.Context, arg UpdateCellParams) (Cell, error)
- func (q *Queries) UpdateCity(ctx context.Context, arg UpdateCityParams) (City, error)
- func (q *Queries) UpdateClutter(ctx context.Context, arg UpdateClutterParams) (Clutter, error)
- func (q *Queries) UpdateContinent(ctx context.Context, arg UpdateContinentParams) (Continent, error)
- func (q *Queries) UpdateCountry(ctx context.Context, arg UpdateCountryParams) (Country, error)
- func (q *Queries) UpdateDistrict(ctx context.Context, arg UpdateDistrictParams) (District, error)
- func (q *Queries) UpdateProperty(ctx context.Context, arg UpdatePropertyParams) (Property, error)
- func (q *Queries) UpdateServiceareatype(ctx context.Context, arg UpdateServiceareatypeParams) (Serviceareatype, error)
- func (q *Queries) UpdateSession(ctx context.Context, arg UpdateSessionParams) (Session, error)
- func (q *Queries) UpdateSite(ctx context.Context, arg UpdateSiteParams) (Site, error)
- func (q *Queries) UpdateSitetype(ctx context.Context, arg UpdateSitetypeParams) (Sitetype, error)
- func (q *Queries) UpdateState(ctx context.Context, arg UpdateStateParams) (State, error)
- func (q *Queries) UpdateTech(ctx context.Context, arg UpdateTechParams) (Tech, error)
- func (q *Queries) UpdateTown(ctx context.Context, arg UpdateTownParams) (Town, error)
- func (q *Queries) UpdateTraffic(ctx context.Context, arg UpdateTrafficParams) (Traffic, error)
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) UpdateVendor(ctx context.Context, arg UpdateVendorParams) (Vendor, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Serviceareatype
- type Session
- type Site
- type Sitetype
- type State
- type Store
- type Tech
- type Town
- type Traffic
- type UpdateAreaParams
- type UpdateBandParams
- type UpdateBlockParams
- type UpdateCarrierParams
- type UpdateCellParams
- type UpdateCityParams
- type UpdateClutterParams
- type UpdateContinentParams
- type UpdateCountryParams
- type UpdateDistrictParams
- type UpdatePropertyParams
- type UpdateServiceareatypeParams
- type UpdateSessionParams
- type UpdateSiteParams
- type UpdateSitetypeParams
- type UpdateStateParams
- type UpdateTechParams
- type UpdateTownParams
- type UpdateTrafficParams
- type UpdateUserParams
- type UpdateVendorParams
- type User
- type Vendor
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecordNotFound = pgx.ErrNoRows
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell struct { ID int64 `json:"id"` CellName string `json:"cell_name"` CellNameOld string `json:"cell_name_old"` CellIDGivin string `json:"cell_id_givin"` CellIDGivinOld string `json:"cell_id_givin_old"` SectorName string `json:"sector_name"` Uplinkuarfcn string `json:"uplinkuarfcn"` Downlinkuarfcn string `json:"downlinkuarfcn"` Dlprscramblecode string `json:"dlprscramblecode"` Azimuth string `json:"azimuth"` Height string `json:"height"` Etilt string `json:"etilt"` Mtilt string `json:"mtilt"` Antennatype string `json:"antennatype"` Antennamodel string `json:"antennamodel"` Ecgi string `json:"ecgi"` SiteID int64 `json:"site_id"` CarrierID int64 `json:"carrier_id"` ServiceareatypeID int64 `json:"serviceareatype_id"` }
type CreateAreaParams ¶
type CreateBandParams ¶
type CreateBlockParams ¶
type CreateCarrierParams ¶
type CreateCellParams ¶
type CreateCellParams struct { CellName string `json:"cell_name"` CellNameOld string `json:"cell_name_old"` CellIDGivin string `json:"cell_id_givin"` CellIDGivinOld string `json:"cell_id_givin_old"` SectorName string `json:"sector_name"` Uplinkuarfcn string `json:"uplinkuarfcn"` Downlinkuarfcn string `json:"downlinkuarfcn"` Dlprscramblecode string `json:"dlprscramblecode"` Azimuth string `json:"azimuth"` Height string `json:"height"` Etilt string `json:"etilt"` Mtilt string `json:"mtilt"` Antennatype string `json:"antennatype"` Antennamodel string `json:"antennamodel"` Ecgi string `json:"ecgi"` SiteID int64 `json:"site_id"` CarrierID int64 `json:"carrier_id"` ServiceareatypeID int64 `json:"serviceareatype_id"` }
type CreateCityParams ¶
type CreateClutterParams ¶
type CreateContinentParams ¶
type CreateCountryParams ¶
type CreateDistrictParams ¶
type CreatePropertyParams ¶
type CreateSessionParams ¶
type CreateSiteParams ¶
type CreateSiteParams struct { SiteName string `json:"site_name"` SiteNameOld string `json:"site_name_old"` SiteIDGivin string `json:"site_id_givin"` SiteIDGivinOld string `json:"site_id_givin_old"` Lac string `json:"lac"` Rac string `json:"rac"` Rnc string `json:"rnc"` SiteOnAirDate time.Time `json:"site_on_air_date"` PropertyID int64 `json:"property_id"` SitetypeID int64 `json:"sitetype_id"` VendorID int64 `json:"vendor_id"` }
type CreateSitetypeParams ¶
type CreateStateParams ¶
type CreateTechParams ¶
type CreateTownParams ¶
type CreateTrafficParams ¶
type CreateTrafficParams struct { TrafficDate time.Time `json:"traffic_date"` Avgdailydldatamb float32 `json:"avgdailydldatamb"` Avgdailyuldatamb float32 `json:"avgdailyuldatamb"` Avgdailytotdatamb float32 `json:"avgdailytotdatamb"` Avgdailytotvoicemin float32 `json:"avgdailytotvoicemin"` Avgdailytotvideomin float32 `json:"avgdailytotvideomin"` Qci1Data float32 `json:"qci1_data"` Qci6Data float32 `json:"qci6_data"` Qci8Data float32 `json:"qci8_data"` QciOtherData float32 `json:"qci_other_data"` Avgdailytotvoicemin4g float32 `json:"avgdailytotvoicemin4g"` Avgdailytotvoicemintotal float32 `json:"avgdailytotvoicemintotal"` Userdlthroughput float32 `json:"userdlthroughput"` Dlpacketlossrate float32 `json:"dlpacketlossrate"` Overallpsdropcallrate float32 `json:"overallpsdropcallrate"` Bhdldatamb float32 `json:"bhdldatamb"` Bhupdatamb float32 `json:"bhupdatamb"` Bhtotdatamb float32 `json:"bhtotdatamb"` Bhtotvoicemin float32 `json:"bhtotvoicemin"` Bhtotvideomin float32 `json:"bhtotvideomin"` Bhcsusers float32 `json:"bhcsusers"` Bhhsupausers float32 `json:"bhhsupausers"` Bhhsdpausers float32 `json:"bhhsdpausers"` Bhr99uldl float32 `json:"bhr99uldl"` Powercapacity float32 `json:"powercapacity"` Powerutilization float32 `json:"powerutilization"` Codecapacity float32 `json:"codecapacity"` Codeutilization float32 `json:"codeutilization"` Ceulcapacity float32 `json:"ceulcapacity"` Ceulutilization float32 `json:"ceulutilization"` Cedlcapacity float32 `json:"cedlcapacity"` Cedlutilization float32 `json:"cedlutilization"` Iubcapacity float32 `json:"iubcapacity"` Iubutlization float32 `json:"iubutlization"` Bhrrcusers float32 `json:"bhrrcusers"` CellID int64 `json:"cell_id"` }
type CreateUserParams ¶
type CreateVendorParams ¶
type ListAreasParams ¶
type ListBandsParams ¶
type ListBlocksParams ¶
type ListCarriersParams ¶
type ListCellsParams ¶
type ListCitiesParams ¶
type ListCluttersParams ¶
type ListContinentsParams ¶
type ListCountriesParams ¶
type ListDistrictsParams ¶
type ListPropertiesParams ¶
type ListSessionsParams ¶
type ListSitesParams ¶
type ListSitetypesParams ¶
type ListStatesParams ¶
type ListTechsParams ¶
type ListTownsParams ¶
type ListTrafficParams ¶
type ListUsersParams ¶
type ListVendorsParams ¶
type Querier ¶
type Querier interface { CreateArea(ctx context.Context, arg CreateAreaParams) (Area, error) CreateBand(ctx context.Context, arg CreateBandParams) (Band, error) CreateBlock(ctx context.Context, arg CreateBlockParams) (Block, error) CreateCarrier(ctx context.Context, arg CreateCarrierParams) (Carrier, error) CreateCell(ctx context.Context, arg CreateCellParams) (Cell, error) CreateCity(ctx context.Context, arg CreateCityParams) (City, error) CreateClutter(ctx context.Context, arg CreateClutterParams) (Clutter, error) CreateContinent(ctx context.Context, arg CreateContinentParams) (Continent, error) CreateCountry(ctx context.Context, arg CreateCountryParams) (Country, error) CreateDistrict(ctx context.Context, arg CreateDistrictParams) (District, error) CreateProperty(ctx context.Context, arg CreatePropertyParams) (Property, error) CreateServiceareatype(ctx context.Context, arg CreateServiceareatypeParams) (Serviceareatype, error) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error) CreateSite(ctx context.Context, arg CreateSiteParams) (Site, error) CreateSitetype(ctx context.Context, arg CreateSitetypeParams) (Sitetype, error) CreateState(ctx context.Context, arg CreateStateParams) (State, error) CreateTech(ctx context.Context, arg CreateTechParams) (Tech, error) CreateTown(ctx context.Context, arg CreateTownParams) (Town, error) CreateTraffic(ctx context.Context, arg CreateTrafficParams) (Traffic, error) CreateUser(ctx context.Context, arg CreateUserParams) (User, error) CreateVendor(ctx context.Context, arg CreateVendorParams) (Vendor, error) DeleteArea(ctx context.Context, id int64) error DeleteBand(ctx context.Context, id int64) error DeleteBlock(ctx context.Context, id int64) error DeleteCarrier(ctx context.Context, id int64) error DeleteCell(ctx context.Context, id int64) error DeleteCity(ctx context.Context, id int64) error DeleteClutter(ctx context.Context, id int64) error DeleteContinent(ctx context.Context, id int64) error DeleteCountry(ctx context.Context, id int64) error DeleteDistrict(ctx context.Context, id int64) error DeleteProperty(ctx context.Context, id int64) error DeleteServiceareatype(ctx context.Context, id int64) error DeleteSession(ctx context.Context, id uuid.UUID) error DeleteSite(ctx context.Context, id int64) error DeleteSitetype(ctx context.Context, id int64) error DeleteState(ctx context.Context, id int64) error DeleteTech(ctx context.Context, id int64) error DeleteTown(ctx context.Context, id int64) error DeleteTraffic(ctx context.Context, id int64) error DeleteUser(ctx context.Context, username string) error DeleteVendor(ctx context.Context, id int64) error GetArea0(ctx context.Context, id int64) (Area, error) GetArea1(ctx context.Context, areaName string) (Area, error) GetBand0(ctx context.Context, id int64) (Band, error) GetBand1(ctx context.Context, bandName string) (Band, error) GetBlock0(ctx context.Context, id int64) (Block, error) GetBlock1(ctx context.Context, blockName string) (Block, error) GetCarrier0(ctx context.Context, id int64) (Carrier, error) GetCarrier1(ctx context.Context, carrierName string) (Carrier, error) GetCell0(ctx context.Context, id int64) (Cell, error) GetCell1(ctx context.Context, cellName string) (Cell, error) GetCity0(ctx context.Context, id int64) (City, error) GetCity1(ctx context.Context, cityName string) (City, error) GetClutter0(ctx context.Context, id int64) (Clutter, error) GetClutter1(ctx context.Context, clutterName string) (Clutter, error) GetContinent0(ctx context.Context, id int64) (Continent, error) GetContinent1(ctx context.Context, continentName string) (Continent, error) GetCountry0(ctx context.Context, id int64) (Country, error) GetCountry1(ctx context.Context, countryName string) (Country, error) GetDistrict0(ctx context.Context, id int64) (District, error) GetDistrict1(ctx context.Context, districtName string) (District, error) GetProperty0(ctx context.Context, id int64) (Property, error) GetProperty1(ctx context.Context, propertyName string) (Property, error) GetServiceareatype0(ctx context.Context, id int64) (Serviceareatype, error) GetServiceareatype1(ctx context.Context, serviceareatypeName string) (Serviceareatype, error) GetSession0(ctx context.Context, id uuid.UUID) (Session, error) GetSite0(ctx context.Context, id int64) (Site, error) GetSite1(ctx context.Context, siteName string) (Site, error) GetSitetype0(ctx context.Context, id int64) (Sitetype, error) GetSitetype1(ctx context.Context, typeName string) (Sitetype, error) GetState0(ctx context.Context, id int64) (State, error) GetState1(ctx context.Context, stateName string) (State, error) GetTech0(ctx context.Context, id int64) (Tech, error) GetTech1(ctx context.Context, techName string) (Tech, error) GetTown0(ctx context.Context, id int64) (Town, error) GetTown1(ctx context.Context, townName string) (Town, error) GetTraffic0(ctx context.Context, id int64) (Traffic, error) GetUser0(ctx context.Context, username string) (User, error) GetUser3(ctx context.Context, email string) (User, error) GetVendor0(ctx context.Context, id int64) (Vendor, error) GetVendor1(ctx context.Context, vendorName string) (Vendor, error) ListAreas(ctx context.Context, arg ListAreasParams) ([]Area, error) ListBands(ctx context.Context, arg ListBandsParams) ([]Band, error) ListBlocks(ctx context.Context, arg ListBlocksParams) ([]Block, error) ListCarriers(ctx context.Context, arg ListCarriersParams) ([]Carrier, error) ListCells(ctx context.Context, arg ListCellsParams) ([]Cell, error) ListCities(ctx context.Context, arg ListCitiesParams) ([]City, error) ListClutters(ctx context.Context, arg ListCluttersParams) ([]Clutter, error) ListContinents(ctx context.Context, arg ListContinentsParams) ([]Continent, error) ListCountries(ctx context.Context, arg ListCountriesParams) ([]Country, error) ListDistricts(ctx context.Context, arg ListDistrictsParams) ([]District, error) ListProperties(ctx context.Context, arg ListPropertiesParams) ([]Property, error) ListServiceareatypes(ctx context.Context, arg ListServiceareatypesParams) ([]Serviceareatype, error) ListSessions(ctx context.Context, arg ListSessionsParams) ([]Session, error) ListSites(ctx context.Context, arg ListSitesParams) ([]Site, error) ListSitetypes(ctx context.Context, arg ListSitetypesParams) ([]Sitetype, error) ListStates(ctx context.Context, arg ListStatesParams) ([]State, error) ListTechs(ctx context.Context, arg ListTechsParams) ([]Tech, error) ListTowns(ctx context.Context, arg ListTownsParams) ([]Town, error) ListTraffic(ctx context.Context, arg ListTrafficParams) ([]Traffic, error) ListUsers(ctx context.Context, arg ListUsersParams) ([]User, error) ListVendors(ctx context.Context, arg ListVendorsParams) ([]Vendor, error) UpdateArea(ctx context.Context, arg UpdateAreaParams) (Area, error) UpdateBand(ctx context.Context, arg UpdateBandParams) (Band, error) UpdateBlock(ctx context.Context, arg UpdateBlockParams) (Block, error) UpdateCarrier(ctx context.Context, arg UpdateCarrierParams) (Carrier, error) UpdateCell(ctx context.Context, arg UpdateCellParams) (Cell, error) UpdateCity(ctx context.Context, arg UpdateCityParams) (City, error) UpdateClutter(ctx context.Context, arg UpdateClutterParams) (Clutter, error) UpdateContinent(ctx context.Context, arg UpdateContinentParams) (Continent, error) UpdateCountry(ctx context.Context, arg UpdateCountryParams) (Country, error) UpdateDistrict(ctx context.Context, arg UpdateDistrictParams) (District, error) UpdateProperty(ctx context.Context, arg UpdatePropertyParams) (Property, error) UpdateServiceareatype(ctx context.Context, arg UpdateServiceareatypeParams) (Serviceareatype, error) UpdateSession(ctx context.Context, arg UpdateSessionParams) (Session, error) UpdateSite(ctx context.Context, arg UpdateSiteParams) (Site, error) UpdateSitetype(ctx context.Context, arg UpdateSitetypeParams) (Sitetype, error) UpdateState(ctx context.Context, arg UpdateStateParams) (State, error) UpdateTech(ctx context.Context, arg UpdateTechParams) (Tech, error) UpdateTown(ctx context.Context, arg UpdateTownParams) (Town, error) UpdateTraffic(ctx context.Context, arg UpdateTrafficParams) (Traffic, error) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error) UpdateVendor(ctx context.Context, arg UpdateVendorParams) (Vendor, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateArea ¶
func (*Queries) CreateBand ¶
func (*Queries) CreateBlock ¶
func (*Queries) CreateCarrier ¶
func (*Queries) CreateCell ¶
func (*Queries) CreateCity ¶
func (*Queries) CreateClutter ¶
func (*Queries) CreateContinent ¶
func (*Queries) CreateCountry ¶
func (*Queries) CreateDistrict ¶
func (*Queries) CreateProperty ¶
func (*Queries) CreateServiceareatype ¶
func (q *Queries) CreateServiceareatype(ctx context.Context, arg CreateServiceareatypeParams) (Serviceareatype, error)
func (*Queries) CreateSession ¶
func (*Queries) CreateSite ¶
func (*Queries) CreateSitetype ¶
func (*Queries) CreateState ¶
func (*Queries) CreateTech ¶
func (*Queries) CreateTown ¶
func (*Queries) CreateTraffic ¶
func (*Queries) CreateUser ¶
func (*Queries) CreateVendor ¶
func (*Queries) DeleteCarrier ¶
func (*Queries) DeleteClutter ¶
func (*Queries) DeleteContinent ¶
func (*Queries) DeleteCountry ¶
func (*Queries) DeleteDistrict ¶
func (*Queries) DeleteProperty ¶
func (*Queries) DeleteServiceareatype ¶
func (*Queries) DeleteSession ¶
func (*Queries) DeleteSitetype ¶
func (*Queries) DeleteTraffic ¶
func (*Queries) DeleteUser ¶
func (*Queries) GetCarrier0 ¶
func (*Queries) GetCarrier1 ¶
func (*Queries) GetClutter0 ¶
func (*Queries) GetClutter1 ¶
func (*Queries) GetContinent0 ¶
func (*Queries) GetContinent1 ¶
func (*Queries) GetCountry0 ¶
func (*Queries) GetCountry1 ¶
func (*Queries) GetDistrict0 ¶
func (*Queries) GetDistrict1 ¶
func (*Queries) GetProperty0 ¶
func (*Queries) GetProperty1 ¶
func (*Queries) GetServiceareatype0 ¶
func (*Queries) GetServiceareatype1 ¶
func (*Queries) GetSession0 ¶
func (*Queries) GetSitetype0 ¶
func (*Queries) GetSitetype1 ¶
func (*Queries) GetTraffic0 ¶
func (*Queries) GetVendor0 ¶
func (*Queries) GetVendor1 ¶
func (*Queries) ListBlocks ¶
func (*Queries) ListCarriers ¶
func (*Queries) ListCities ¶
func (*Queries) ListClutters ¶
func (*Queries) ListContinents ¶
func (*Queries) ListCountries ¶
func (*Queries) ListDistricts ¶
func (*Queries) ListProperties ¶
func (*Queries) ListServiceareatypes ¶
func (q *Queries) ListServiceareatypes(ctx context.Context, arg ListServiceareatypesParams) ([]Serviceareatype, error)
func (*Queries) ListSessions ¶
func (*Queries) ListSitetypes ¶
func (*Queries) ListStates ¶
func (*Queries) ListTraffic ¶
func (*Queries) ListVendors ¶
func (*Queries) UpdateArea ¶
func (*Queries) UpdateBand ¶
func (*Queries) UpdateBlock ¶
func (*Queries) UpdateCarrier ¶
func (*Queries) UpdateCell ¶
func (*Queries) UpdateCity ¶
func (*Queries) UpdateClutter ¶
func (*Queries) UpdateContinent ¶
func (*Queries) UpdateCountry ¶
func (*Queries) UpdateDistrict ¶
func (*Queries) UpdateProperty ¶
func (*Queries) UpdateServiceareatype ¶
func (q *Queries) UpdateServiceareatype(ctx context.Context, arg UpdateServiceareatypeParams) (Serviceareatype, error)
func (*Queries) UpdateSession ¶
func (*Queries) UpdateSite ¶
func (*Queries) UpdateSitetype ¶
func (*Queries) UpdateState ¶
func (*Queries) UpdateTech ¶
func (*Queries) UpdateTown ¶
func (*Queries) UpdateTraffic ¶
func (*Queries) UpdateUser ¶
func (*Queries) UpdateVendor ¶
type Serviceareatype ¶
type Session ¶
type Session struct { ID uuid.UUID `json:"id"` Username string `json:"username"` RefreshToken string `json:"refresh_token"` UserAgent string `json:"user_agent"` ClientIp string `json:"client_ip"` IsBlocked bool `json:"is_blocked"` ExpiresAt time.Time `json:"expires_at"` CreatedAt time.Time `json:"created_at"` }
type Site ¶
type Site struct { ID int64 `json:"id"` SiteName string `json:"site_name"` SiteNameOld string `json:"site_name_old"` SiteIDGivin string `json:"site_id_givin"` SiteIDGivinOld string `json:"site_id_givin_old"` Lac string `json:"lac"` Rac string `json:"rac"` Rnc string `json:"rnc"` SiteOnAirDate time.Time `json:"site_on_air_date"` PropertyID int64 `json:"property_id"` SitetypeID int64 `json:"sitetype_id"` VendorID int64 `json:"vendor_id"` }
type Store ¶
type Store struct { *Queries // contains filtered or unexported fields }
SQLStore provides all functions to execute SQL queries and transactions
type Traffic ¶
type Traffic struct { ID int64 `json:"id"` TrafficDate time.Time `json:"traffic_date"` Avgdailydldatamb float32 `json:"avgdailydldatamb"` Avgdailyuldatamb float32 `json:"avgdailyuldatamb"` Avgdailytotdatamb float32 `json:"avgdailytotdatamb"` Avgdailytotvoicemin float32 `json:"avgdailytotvoicemin"` Avgdailytotvideomin float32 `json:"avgdailytotvideomin"` Qci1Data float32 `json:"qci1_data"` Qci6Data float32 `json:"qci6_data"` Qci8Data float32 `json:"qci8_data"` QciOtherData float32 `json:"qci_other_data"` Avgdailytotvoicemin4g float32 `json:"avgdailytotvoicemin4g"` Avgdailytotvoicemintotal float32 `json:"avgdailytotvoicemintotal"` Userdlthroughput float32 `json:"userdlthroughput"` Dlpacketlossrate float32 `json:"dlpacketlossrate"` Overallpsdropcallrate float32 `json:"overallpsdropcallrate"` Bhdldatamb float32 `json:"bhdldatamb"` Bhupdatamb float32 `json:"bhupdatamb"` Bhtotdatamb float32 `json:"bhtotdatamb"` Bhtotvoicemin float32 `json:"bhtotvoicemin"` Bhtotvideomin float32 `json:"bhtotvideomin"` Bhcsusers float32 `json:"bhcsusers"` Bhhsupausers float32 `json:"bhhsupausers"` Bhhsdpausers float32 `json:"bhhsdpausers"` Bhr99uldl float32 `json:"bhr99uldl"` Powercapacity float32 `json:"powercapacity"` Powerutilization float32 `json:"powerutilization"` Codecapacity float32 `json:"codecapacity"` Codeutilization float32 `json:"codeutilization"` Ceulcapacity float32 `json:"ceulcapacity"` Ceulutilization float32 `json:"ceulutilization"` Cedlcapacity float32 `json:"cedlcapacity"` Cedlutilization float32 `json:"cedlutilization"` Iubcapacity float32 `json:"iubcapacity"` Iubutlization float32 `json:"iubutlization"` Bhrrcusers float32 `json:"bhrrcusers"` CellID int64 `json:"cell_id"` }
type UpdateAreaParams ¶
type UpdateBandParams ¶
type UpdateBlockParams ¶
type UpdateCarrierParams ¶
type UpdateCellParams ¶
type UpdateCellParams struct { ID int64 `json:"id"` CellName string `json:"cell_name"` CellNameOld string `json:"cell_name_old"` CellIDGivin string `json:"cell_id_givin"` CellIDGivinOld string `json:"cell_id_givin_old"` SectorName string `json:"sector_name"` Uplinkuarfcn string `json:"uplinkuarfcn"` Downlinkuarfcn string `json:"downlinkuarfcn"` Dlprscramblecode string `json:"dlprscramblecode"` Azimuth string `json:"azimuth"` Height string `json:"height"` Etilt string `json:"etilt"` Mtilt string `json:"mtilt"` Antennatype string `json:"antennatype"` Antennamodel string `json:"antennamodel"` Ecgi string `json:"ecgi"` SiteID int64 `json:"site_id"` CarrierID int64 `json:"carrier_id"` ServiceareatypeID int64 `json:"serviceareatype_id"` }
type UpdateCityParams ¶
type UpdateClutterParams ¶
type UpdateContinentParams ¶
type UpdateCountryParams ¶
type UpdateDistrictParams ¶
type UpdatePropertyParams ¶
type UpdateSessionParams ¶
type UpdateSessionParams struct { ID uuid.UUID `json:"id"` Username string `json:"username"` RefreshToken string `json:"refresh_token"` UserAgent string `json:"user_agent"` ClientIp string `json:"client_ip"` IsBlocked bool `json:"is_blocked"` ExpiresAt time.Time `json:"expires_at"` CreatedAt time.Time `json:"created_at"` }
type UpdateSiteParams ¶
type UpdateSiteParams struct { ID int64 `json:"id"` SiteName string `json:"site_name"` SiteNameOld string `json:"site_name_old"` SiteIDGivin string `json:"site_id_givin"` SiteIDGivinOld string `json:"site_id_givin_old"` Lac string `json:"lac"` Rac string `json:"rac"` Rnc string `json:"rnc"` SiteOnAirDate time.Time `json:"site_on_air_date"` PropertyID int64 `json:"property_id"` SitetypeID int64 `json:"sitetype_id"` VendorID int64 `json:"vendor_id"` }
type UpdateSitetypeParams ¶
type UpdateStateParams ¶
type UpdateTechParams ¶
type UpdateTownParams ¶
type UpdateTrafficParams ¶
type UpdateTrafficParams struct { ID int64 `json:"id"` TrafficDate time.Time `json:"traffic_date"` Avgdailydldatamb float32 `json:"avgdailydldatamb"` Avgdailyuldatamb float32 `json:"avgdailyuldatamb"` Avgdailytotdatamb float32 `json:"avgdailytotdatamb"` Avgdailytotvoicemin float32 `json:"avgdailytotvoicemin"` Avgdailytotvideomin float32 `json:"avgdailytotvideomin"` Qci1Data float32 `json:"qci1_data"` Qci6Data float32 `json:"qci6_data"` Qci8Data float32 `json:"qci8_data"` QciOtherData float32 `json:"qci_other_data"` Avgdailytotvoicemin4g float32 `json:"avgdailytotvoicemin4g"` Avgdailytotvoicemintotal float32 `json:"avgdailytotvoicemintotal"` Userdlthroughput float32 `json:"userdlthroughput"` Dlpacketlossrate float32 `json:"dlpacketlossrate"` Overallpsdropcallrate float32 `json:"overallpsdropcallrate"` Bhdldatamb float32 `json:"bhdldatamb"` Bhupdatamb float32 `json:"bhupdatamb"` Bhtotdatamb float32 `json:"bhtotdatamb"` Bhtotvoicemin float32 `json:"bhtotvoicemin"` Bhtotvideomin float32 `json:"bhtotvideomin"` Bhcsusers float32 `json:"bhcsusers"` Bhhsupausers float32 `json:"bhhsupausers"` Bhhsdpausers float32 `json:"bhhsdpausers"` Bhr99uldl float32 `json:"bhr99uldl"` Powercapacity float32 `json:"powercapacity"` Powerutilization float32 `json:"powerutilization"` Codecapacity float32 `json:"codecapacity"` Codeutilization float32 `json:"codeutilization"` Ceulcapacity float32 `json:"ceulcapacity"` Ceulutilization float32 `json:"ceulutilization"` Cedlcapacity float32 `json:"cedlcapacity"` Cedlutilization float32 `json:"cedlutilization"` Iubcapacity float32 `json:"iubcapacity"` Iubutlization float32 `json:"iubutlization"` Bhrrcusers float32 `json:"bhrrcusers"` CellID int64 `json:"cell_id"` }
type UpdateUserParams ¶
type UpdateVendorParams ¶
type User ¶
type User struct { Username string `json:"username"` HashedPassword string `json:"hashed_password"` FullName string `json:"full_name"` Email string `json:"email"` PasswordChangedAt time.Time `json:"password_changed_at"` PasswordCreatedAt time.Time `json:"password_created_at"` Role string `json:"role"` }
Source Files ¶
- area.sql.go
- band.sql.go
- block.sql.go
- carrier.sql.go
- cell.sql.go
- city.sql.go
- clutter.sql.go
- continent.sql.go
- country.sql.go
- db.go
- district.sql.go
- error.go
- models.go
- property.sql.go
- querier.go
- serviceareatype.sql.go
- session.sql.go
- site.sql.go
- sitetype.sql.go
- state.sql.go
- store.go
- tech.sql.go
- town.sql.go
- traffic.sql.go
- user.sql.go
- vendor.sql.go
Click to show internal directories.
Click to hide internal directories.