Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGetAPIStatusEndpoint ¶
MakeGetAPIStatusEndpoint returns an endpoint via the passed service. Primarily useful in a server.
Types ¶
type Endpoints ¶
Endpoints collects all of the konga API endpoints.
func MakeServerEndpoints ¶
func MakeServerEndpoints(s konga.Service) Endpoints
MakeServerEndpoints returns an Endpoints struct where each endpoint invokes the corresponding method on the provided konga.Service. Useful in a konga.Service server.
type GetAPIStatusResponse ¶
type GetAPIStatusResponse struct { Status string `json:"status,omitempty"` Err error `json:"err,omitempty"` }
GetAPIStatusResponse response object
Click to show internal directories.
Click to hide internal directories.