Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
Gateway represents the REST API gateway
func NewGateway ¶
func NewGateway(cfg ServerConfig, logger *slog.Logger) (*Gateway, error)
NewGateway creates a new REST API gateway
type ServerConfig ¶
type ServerConfig interface {
GetHTTPAddress() string
}
ServerConfig represents server configuration
Click to show internal directories.
Click to hide internal directories.