Documentation ¶
Index ¶
- type Report
- func (r *Report) Create(rqst *structs.NCreateRequest, resp *structs.NCreateResponse) error
- func (r *Report) SearchDID(rqst *structs.NSearchRequestDID, resp *structs.NSearchResponse) error
- func (r *Report) SearchLL(rqst *structs.NSearchRequestLL, resp *structs.NSearchResponse) error
- func (r *Report) SearchRID(rqst *structs.NSearchRequestRID, resp *structs.NSearchResponse) error
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct{}
Report is the RPC container struct for the Report.Create service. This service creates a new 311 report.
func (*Report) Create ¶
func (r *Report) Create(rqst *structs.NCreateRequest, resp *structs.NCreateResponse) error
Create fully processes the Create request.
func (*Report) SearchDID ¶
func (r *Report) SearchDID(rqst *structs.NSearchRequestDID, resp *structs.NSearchResponse) error
SearchDID fully processes the Search by DeviceID request.
func (*Report) SearchLL ¶
func (r *Report) SearchLL(rqst *structs.NSearchRequestLL, resp *structs.NSearchResponse) error
SearchLL fully processes a "Search by Location" request.
func (*Report) SearchRID ¶
func (r *Report) SearchRID(rqst *structs.NSearchRequestRID, resp *structs.NSearchResponse) error
SearchRID fully processes the Search by DeviceID request.
type Services ¶
type Services struct{}
Services is the RPC container struct for the Services service. This service providers a directory of services (i.e. report categories) available for each AreaSourced city.
func (*Services) All ¶
func (c *Services) All(rqst *structs.NServiceRequest, resp *structs.NServicesResponse) error
All fills resp with a list of services for the specifed city.
func (*Services) Area ¶
func (c *Services) Area(rqst *structs.NServiceRequest, resp *structs.NServicesResponse) error
Area returns a list of services for the specifed city.
Click to show internal directories.
Click to hide internal directories.