Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse represents an error response
type HealthInfo ¶
type OKResponse ¶
type OKResponse struct {
Status string `json:"status"`
}
type TokenRequest ¶
type TokenRequest struct {
Subject string `json:"subject"`
}
TokenRequest represents the request payload for token creation
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"`
}
TokenResponse represents the response payload with the generated token
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.