Documentation ¶
Index ¶
- type FivenetAccounts
- type FivenetAttrs
- type FivenetAuditLog
- type FivenetCentrumDispatches
- type FivenetCentrumDispatchesAsgmts
- type FivenetCentrumDispatchesStatus
- type FivenetCentrumMarkers
- type FivenetCentrumSettings
- type FivenetCentrumUnits
- type FivenetCentrumUnitsStatus
- type FivenetCentrumUnitsUsers
- type FivenetCentrumUsers
- type FivenetDocuments
- type FivenetDocumentsActivity
- type FivenetDocumentsCategories
- type FivenetDocumentsComments
- type FivenetDocumentsJobAccess
- type FivenetDocumentsReferences
- type FivenetDocumentsRelations
- type FivenetDocumentsRequests
- type FivenetDocumentsTemplates
- type FivenetDocumentsTemplatesJobAccess
- type FivenetDocumentsUserAccess
- type FivenetJobPermissions
- type FivenetJobProps
- type FivenetJobsConduct
- type FivenetJobsRequests
- type FivenetJobsRequestsComments
- type FivenetJobsRequestsTypes
- type FivenetJobsTimeclock
- type FivenetLawbooks
- type FivenetLawbooksLaws
- type FivenetNotifications
- type FivenetOauth2Accounts
- type FivenetPermissions
- type FivenetRoleAttrs
- type FivenetRolePermissions
- type FivenetRoles
- type FivenetUserActivity
- type FivenetUserLocations
- type FivenetUserProps
- type GksphoneJobMessage
- type GksphoneSettings
- type JobGrades
- type Jobs
- type Licenses
- type OwnedVehicles
- type UserLicenses
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FivenetAccounts ¶
type FivenetAccounts struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` Enabled *bool `json:"enabled"` Username *string `json:"username"` Password *string `json:"password"` License string `json:"license"` RegToken *string `json:"reg_token"` OverrideJob *string `json:"override_job"` OverrideJobGrade *int32 `json:"override_job_grade"` }
type FivenetAttrs ¶
type FivenetAuditLog ¶
type FivenetAuditLog struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UserID int32 `json:"user_id"` UserJob string `json:"user_job"` TargetUserID *int32 `json:"target_user_id"` TargetUserJob *string `json:"target_user_job"` Service string `json:"service"` Method string `json:"method"` State int16 `json:"state"` Data *string `json:"data"` }
type FivenetCentrumDispatches ¶ added in v0.8.0
type FivenetCentrumDispatches struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` Job string `json:"job"` Message string `json:"message"` Description *string `json:"description"` Attributes *string `json:"attributes"` X *float64 `json:"x"` Y *float64 `json:"y"` Postal *string `json:"postal"` Anon bool `json:"anon"` CreatorID int32 `json:"creator_id"` }
type FivenetCentrumDispatchesAsgmts ¶ added in v0.8.0
type FivenetCentrumDispatchesStatus ¶ added in v0.8.0
type FivenetCentrumDispatchesStatus struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` DispatchID uint64 `json:"dispatch_id"` UnitID *uint64 `json:"unit_id"` Status int16 `json:"status"` Reason *string `json:"reason"` Code *string `json:"code"` X *float64 `json:"x"` Y *float64 `json:"y"` Postal *string `json:"postal"` UserID *int32 `json:"user_id"` }
type FivenetCentrumMarkers ¶ added in v0.8.0
type FivenetCentrumMarkers struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` Job string `json:"job"` Name string `json:"name"` Description *string `json:"description"` X *float64 `json:"x"` Y *float64 `json:"y"` Postal *string `json:"postal"` Color *string `json:"color"` Icon *string `json:"icon"` MarkerType int16 `json:"marker_type"` MarkerData *[]byte `json:"marker_data"` CreatorID *int32 `json:"creator_id"` }
type FivenetCentrumSettings ¶ added in v0.8.0
type FivenetCentrumUnits ¶ added in v0.7.3
type FivenetCentrumUnits struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` Job string `json:"job"` Name string `json:"name"` Initials string `json:"initials"` Color string `json:"color"` Description *string `json:"description"` Attributes *string `json:"attributes"` }
type FivenetCentrumUnitsStatus ¶ added in v0.8.0
type FivenetCentrumUnitsStatus struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UnitID uint64 `json:"unit_id"` Status int16 `json:"status"` Reason *string `json:"reason"` Code *string `json:"code"` UserID *int32 `json:"user_id"` X *float64 `json:"x"` Y *float64 `json:"y"` Postal *string `json:"postal"` CreatorID *int32 `json:"creator_id"` }
type FivenetCentrumUnitsUsers ¶ added in v0.7.3
type FivenetCentrumUsers ¶ added in v0.8.0
type FivenetDocuments ¶
type FivenetDocuments struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` CategoryID *uint64 `json:"category_id"` Title string `json:"title"` Summary string `json:"summary"` ContentType int16 `json:"content_type"` Content string `json:"content"` Data *string `json:"data"` CreatorID *int32 `json:"creator_id"` CreatorJob string `json:"creator_job"` State string `json:"state"` Closed *bool `json:"closed"` Public bool `json:"public"` TemplateID uint64 `json:"template_id"` }
type FivenetDocumentsActivity ¶ added in v0.8.14
type FivenetDocumentsActivity struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` DocumentID uint64 `json:"document_id"` ActivityType int16 `json:"activity_type"` CreatorID *int32 `json:"creator_id"` CreatorJob string `json:"creator_job"` Reason *string `json:"reason"` Data *string `json:"data"` }
type FivenetDocumentsComments ¶
type FivenetDocumentsComments struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` DocumentID uint64 `json:"document_id"` Comment *string `json:"comment"` CreatorID int32 `json:"creator_id"` }
type FivenetDocumentsReferences ¶
type FivenetDocumentsReferences struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` DeletedAt *time.Time `json:"deleted_at"` SourceDocumentID uint64 `json:"source_document_id"` Reference int16 `json:"reference"` TargetDocumentID uint64 `json:"target_document_id"` CreatorID *int32 `json:"creator_id"` }
type FivenetDocumentsRelations ¶
type FivenetDocumentsRelations struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` DeletedAt *time.Time `json:"deleted_at"` DocumentID uint64 `json:"document_id"` SourceUserID *int32 `json:"source_user_id"` Relation int16 `json:"relation"` TargetUserID int32 `json:"target_user_id"` }
type FivenetDocumentsRequests ¶ added in v0.8.16
type FivenetDocumentsRequests struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DocumentID uint64 `json:"document_id"` RequestType int16 `json:"request_type"` CreatorID *int32 `json:"creator_id"` CreatorJob string `json:"creator_job"` Reason *string `json:"reason"` Data *string `json:"data"` Accepted *bool `json:"accepted"` }
type FivenetDocumentsTemplates ¶
type FivenetDocumentsTemplates struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` Weight *uint32 `json:"weight"` CategoryID *uint64 `json:"category_id"` Title string `json:"title"` Description string `json:"description"` ContentTitle string `json:"content_title"` Content string `json:"content"` State string `json:"state"` Access *string `json:"access"` Schema *string `json:"schema"` CreatorID *int32 `json:"creator_id"` CreatorJob string `json:"creator_job"` }
type FivenetDocumentsTemplatesJobAccess ¶
type FivenetDocumentsTemplatesJobAccess struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` TemplateID uint64 `json:"template_id"` Job string `json:"job"` MinimumGrade int32 `json:"minimum_grade"` Access int16 `json:"access"` }
type FivenetJobPermissions ¶ added in v0.8.7
type FivenetJobProps ¶
type FivenetJobProps struct { Job string `json:"job"` UpdatedAt *time.Time `json:"updated_at"` Theme *string `json:"theme"` LivemapMarkerColor *string `json:"livemap_marker_color"` QuickButtons *string `json:"quick_buttons"` RadioFrequency *string `json:"radio_frequency"` DiscordGuildID *uint64 `json:"discord_guild_id"` DiscordLastSync *time.Time `json:"discord_last_sync"` DiscordSyncSettings *string `json:"discord_sync_settings"` }
type FivenetJobsConduct ¶ added in v0.8.1
type FivenetJobsConduct struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` Job string `json:"job"` Type int16 `json:"type"` Message *string `json:"message"` ExpiresAt *time.Time `json:"expires_at"` TargetUserID *int32 `json:"target_user_id"` CreatorID *int32 `json:"creator_id"` }
type FivenetJobsRequests ¶ added in v0.8.6
type FivenetJobsRequests struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` Job string `json:"job"` TypeID *uint64 `json:"type_id"` Title string `json:"title"` Message string `json:"message"` Status *string `json:"status"` CreatorID *int32 `json:"creator_id"` Approved *bool `json:"approved"` ApproverID *int32 `json:"approver_id"` Closed *bool `json:"closed"` BeginsAt *time.Time `json:"begins_at"` EndsAt *time.Time `json:"ends_at"` }
type FivenetJobsRequestsComments ¶ added in v0.8.6
type FivenetJobsRequestsComments struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` RequestID uint64 `json:"request_id"` Comment *string `json:"comment"` CreatorID int32 `json:"creator_id"` }
type FivenetJobsRequestsTypes ¶ added in v0.8.6
type FivenetJobsRequestsTypes struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` Job string `json:"job"` Name string `json:"name"` Description *string `json:"description"` Weight *uint32 `json:"weight"` }
type FivenetJobsTimeclock ¶ added in v0.8.4
type FivenetLawbooks ¶ added in v0.7.0
type FivenetLawbooksLaws ¶ added in v0.7.0
type FivenetLawbooksLaws struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` LawbookID uint64 `json:"lawbook_id"` Name string `json:"name"` Description *string `json:"description"` Fine *uint64 `json:"fine"` DetentionTime *uint64 `json:"detention_time"` StvoPoints *uint64 `json:"stvo_points"` }
type FivenetNotifications ¶
type FivenetNotifications struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` ReadAt *time.Time `json:"read_at"` UserID *int32 `json:"user_id"` Job *string `json:"job"` Title string `json:"title"` Type string `json:"type"` Content *string `json:"content"` Category int16 `json:"category"` Data *string `json:"data"` Starred *bool `json:"starred"` }
type FivenetOauth2Accounts ¶
type FivenetPermissions ¶
type FivenetRoleAttrs ¶
type FivenetRolePermissions ¶
type FivenetRoles ¶
type FivenetUserActivity ¶
type FivenetUserActivity struct { ID uint64 `sql:"primary_key" json:"id"` CreatedAt *time.Time `json:"created_at"` SourceUserID *int32 `json:"source_user_id"` TargetUserID int32 `json:"target_user_id"` Type int16 `json:"type"` Key string `json:"key"` OldValue *string `json:"old_value"` NewValue *string `json:"new_value"` Reason *string `json:"reason"` }
type FivenetUserLocations ¶
type FivenetUserProps ¶
type GksphoneJobMessage ¶
type GksphoneJobMessage struct { ID int32 `sql:"primary_key" json:"id"` Name *string `json:"name"` Number *string `json:"number"` Message *string `json:"message"` Photo *string `json:"photo"` Gps *string `json:"gps"` Owner int32 `json:"owner"` Jobm *string `json:"jobm"` Anon *string `json:"anon"` Time time.Time `json:"time"` }
type GksphoneSettings ¶ added in v0.8.0
type OwnedVehicles ¶
type OwnedVehicles struct { Owner *string `json:"owner"` Plate string `sql:"primary_key" json:"plate"` Model string `json:"model"` Vehicle *string `json:"vehicle"` Type string `json:"type"` Stored bool `json:"stored"` Carseller *int32 `json:"carseller"` Owners *string `json:"owners"` Storage *string `json:"storage"` Trunk *string `json:"trunk"` Glovebox *string `json:"glovebox"` }
type UserLicenses ¶
type Users ¶
type Users struct { ID int32 `json:"id"` Identifier string `sql:"primary_key" json:"identifier"` Group *string `json:"group"` Skin *string `json:"skin"` Job *string `json:"job"` JobGrade *int32 `json:"job_grade"` Loadout *string `json:"loadout"` Position *string `json:"position"` Firstname *string `json:"firstname"` Lastname *string `json:"lastname"` Dateofbirth *string `json:"dateofbirth"` Sex *string `json:"sex"` Height *string `json:"height"` IsDead *bool `json:"is_dead"` LastProperty *string `json:"last_property"` Jail int32 `json:"jail"` Inventory *string `json:"inventory"` PhoneNumber *string `json:"phone_number"` Accounts *string `json:"accounts"` Tattoos *string `json:"tattoos"` Disabled *bool `json:"disabled"` Visum *int32 `json:"visum"` Playtime *int32 `json:"playtime"` LevelData *string `json:"levelData"` OnDuty *int8 `json:"onDuty"` Health *int32 `json:"health"` Armor *int32 `json:"armor"` CreatedAt *time.Time `json:"created_at"` LastSeen *time.Time `json:"last_seen"` Metadata *string `json:"metadata"` }
Source Files ¶
- fivenet_accounts.go
- fivenet_attrs.go
- fivenet_audit_log.go
- fivenet_centrum_dispatches.go
- fivenet_centrum_dispatches_asgmts.go
- fivenet_centrum_dispatches_status.go
- fivenet_centrum_markers.go
- fivenet_centrum_settings.go
- fivenet_centrum_units.go
- fivenet_centrum_units_status.go
- fivenet_centrum_units_users.go
- fivenet_centrum_users.go
- fivenet_documents.go
- fivenet_documents_activity.go
- fivenet_documents_categories.go
- fivenet_documents_comments.go
- fivenet_documents_job_access.go
- fivenet_documents_references.go
- fivenet_documents_relations.go
- fivenet_documents_requests.go
- fivenet_documents_templates.go
- fivenet_documents_templates_job_access.go
- fivenet_documents_user_access.go
- fivenet_job_permissions.go
- fivenet_job_props.go
- fivenet_jobs_conduct.go
- fivenet_jobs_requests.go
- fivenet_jobs_requests_comments.go
- fivenet_jobs_requests_types.go
- fivenet_jobs_timeclock.go
- fivenet_lawbooks.go
- fivenet_lawbooks_laws.go
- fivenet_notifications.go
- fivenet_oauth2_accounts.go
- fivenet_permissions.go
- fivenet_role_attrs.go
- fivenet_role_permissions.go
- fivenet_roles.go
- fivenet_user_activity.go
- fivenet_user_locations.go
- fivenet_user_props.go
- gksphone_job_message.go
- gksphone_settings.go
- job_grades.go
- jobs.go
- licenses.go
- owned_vehicles.go
- user_licenses.go
- users.go
Click to show internal directories.
Click to hide internal directories.