Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayHosts ¶
type GatewayHosts struct {
Proxy string `json:"proxy,omitempty"`
MCP string `json:"mcp,omitempty"`
}
GatewayHosts holds the hostnames clients use to reach the gateway on each plane: Proxy for the LLM proxy and MCP for the Model Context Protocol server.
type GatewayResponse ¶
type GatewayResponse struct {
ID ids.GatewayID `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
Status string `json:"status"`
Version string `json:"version"`
Domain string `json:"domain,omitempty"`
Hosts GatewayHosts `json:"hosts"`
Metadata map[string]string `json:"metadata,omitempty"`
Telemetry *telemetry.Telemetry `json:"telemetry,omitempty"`
ClientTLSConfig domain.ClientTLSConfig `json:"client_tls,omitempty"`
SessionConfig *domain.SessionConfig `json:"session_config,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
func FromDomain ¶
func FromDomain(g *domain.Gateway, proxyBaseDomain, mcpBaseDomain string) GatewayResponse
type ListGatewayResponse ¶
type ListGatewayResponse struct {
Items []GatewayResponse `json:"items"`
Page int `json:"page"`
Size int `json:"size"`
Total int `json:"total"`
}
Click to show internal directories.
Click to hide internal directories.