Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(r *gin.RouterGroup)
Types ¶
type DashboardData ¶
type DashboardData struct { UserAgents UserAgentsLookup `json:"user_agents"` Requests [][10]any `json:"requests"` }
type DashboardRequestRow ¶
type DashboardRequestRow struct { Hostname *string `json:"hostname"` // Nullable IPAddress pgtype.CIDR `json:"ip_address"` Path string `json:"path"` UserAgent *int `json:"user_agent"` // Nullable Method int16 `json:"method"` Status int16 `json:"status"` ResponseTime int16 `json:"response_time"` Location *string `json:"location"` // Nullable UserID *string `json:"user_id"` // Nullable, custom user identifier field specific to each API service CreatedAt time.Time `json:"created_at"` }
type DataFetchQueries ¶
type DataFetchQueries struct {
// contains filtered or unexported fields
}
type MonitorPing ¶
type MonitorRow ¶
type RequestData ¶
type RequestData struct { Hostname string `json:"hostname"` IPAddress string `json:"ip_address"` Path string `json:"path"` UserAgent string `json:"user_agent"` Method int16 `json:"method"` Status int16 `json:"status"` ResponseTime int16 `json:"response_time"` Location string `json:"location"` UserID string `json:"user_id"` CreatedAt time.Time `json:"created_at"` }
type RequestRow ¶
type RequestRow struct { Hostname *string `json:"hostname"` IPAddress pgtype.CIDR `json:"ip_address"` Path string `json:"path"` UserAgent *string `json:"user_agent"` Method int16 `json:"method"` Status int16 `json:"status"` ResponseTime int16 `json:"response_time"` Location *string `json:"location"` UserID *string `json:"user_id"` // Custom user identifier field specific to each API service CreatedAt time.Time `json:"created_at"` }
type UserAgentsLookup ¶
Click to show internal directories.
Click to hide internal directories.