Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the HTTP server for the kirocc proxy.
func New ¶
func New(authMgr messagesapp.TokenGetter, apiKey string, client kiroclient.Client, opts ...ServerOption) *Server
New creates a new Server.
type ServerOption ¶ added in v0.0.7
type ServerOption func(*Server)
ServerOption configures a Server.
func WithCapture ¶ added in v0.1.0
func WithCapture(enabled bool) ServerOption
WithCapture enables upstream capture logging in the messages service.
func WithOTel ¶ added in v0.0.7
func WithOTel(bodyLimit int) ServerOption
WithOTel enables OpenTelemetry tracing middleware.
Click to show internal directories.
Click to hide internal directories.