Documentation
¶
Overview ¶
Package api implements the REST API server for api.ingitdb.com.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the HTTP handler for the API server. Fields can be replaced in tests to inject mock implementations.
func NewHandler ¶
func NewHandler() *Handler
NewHandler creates a Handler with the default (production) GitHub implementations.
func NewHandlerWithAuth ¶ added in v0.15.4
NewHandlerWithAuth creates a handler with provided auth configuration and mode.
Click to show internal directories.
Click to hide internal directories.