response

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL