Documentation
¶
Index ¶
- type BYOKSystemBaseURLsResponse
- type CleanupPreviewRequest
- type CleanupPreviewResponse
- type CleanupRequest
- type CleanupResponse
- type GetSettingsRequest
- type Handler
- func (h *Handler) BYOKSystemBaseURLs(_ *app.Context, _ api.EmptyRequest) (BYOKSystemBaseURLsResponse, error)
- func (h *Handler) Cleanup(c *app.Context, req CleanupRequest) (CleanupResponse, error)
- func (h *Handler) CleanupPreview(c *app.Context, req CleanupPreviewRequest) (CleanupPreviewResponse, error)
- func (h *Handler) GetSettings(c *app.Context, _ GetSettingsRequest) (SettingsResponse, error)
- func (h *Handler) Stats(c *app.Context, _ StatsRequest) (StatsResponse, error)
- func (h *Handler) UpdateSettings(c *app.Context, req UpdateSettingsRequest) (SettingsResponse, error)
- type SettingsResponse
- type StatsRequest
- type StatsResponse
- type SystemInfo
- type TableStats
- type UpdateSettingsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BYOKSystemBaseURLsResponse ¶ added in v0.0.2
type BYOKSystemBaseURLsResponse struct {
URLs []string `json:"urls"`
}
BYOKSystemBaseURLsResponse lists code-pinned default BaseURL prefixes for BYOK. The admin Settings page renders these as "read-only system recommended" alongside the editable byok_base_url_allowlist setting (admin extra). Both are union-merged at validation time (see private_channel.validateBaseURLAllowlist).
type CleanupPreviewRequest ¶
type CleanupPreviewResponse ¶
type CleanupRequest ¶
type CleanupResponse ¶
type CleanupResponse struct {
Deleted int64 `json:"deleted"`
}
type GetSettingsRequest ¶
type GetSettingsRequest struct{}
type Handler ¶
type Handler struct {
ConnectedCount func() int
}
func (*Handler) BYOKSystemBaseURLs ¶ added in v0.0.2
func (h *Handler) BYOKSystemBaseURLs(_ *app.Context, _ api.EmptyRequest) (BYOKSystemBaseURLsResponse, error)
BYOKSystemBaseURLs returns the code-pinned system default BYOK base URLs. Pure read; no DB access. Mutating this list requires editing internal/consts/byok.go and re-deploying.
func (*Handler) Cleanup ¶
func (h *Handler) Cleanup(c *app.Context, req CleanupRequest) (CleanupResponse, error)
func (*Handler) CleanupPreview ¶
func (h *Handler) CleanupPreview(c *app.Context, req CleanupPreviewRequest) (CleanupPreviewResponse, error)
func (*Handler) GetSettings ¶
func (h *Handler) GetSettings(c *app.Context, _ GetSettingsRequest) (SettingsResponse, error)
func (*Handler) Stats ¶
func (h *Handler) Stats(c *app.Context, _ StatsRequest) (StatsResponse, error)
func (*Handler) UpdateSettings ¶
func (h *Handler) UpdateSettings(c *app.Context, req UpdateSettingsRequest) (SettingsResponse, error)
type SettingsResponse ¶
type StatsRequest ¶
type StatsRequest struct{}
type StatsResponse ¶
type StatsResponse struct {
Tables []TableStats `json:"tables"`
System SystemInfo `json:"system"`
}
type SystemInfo ¶
type SystemInfo struct {
Version string `json:"version"`
GoVersion string `json:"go_version"`
StartTime int64 `json:"start_time"`
UptimeSec int64 `json:"uptime_sec"`
MemoryAlloc uint64 `json:"memory_alloc"`
MemorySys uint64 `json:"memory_sys"`
NumGC uint32 `json:"num_gc"`
NumGoroutine int `json:"num_goroutine"`
OnlineAgents int `json:"online_agents"`
}
type TableStats ¶
type UpdateSettingsRequest ¶
Click to show internal directories.
Click to hide internal directories.