model

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version   string `json:"version"`
	BuildTime string `json:"build_time"`
	AppName   string `json:"app_name"`
}

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

ErrorResponse represents an error response

type HTTPError

type HTTPError struct {
	Message string `json:"message"`
}

type HealthInfo

type HealthInfo struct {
	Status    string `json:"status"`
	Timestamp string `json:"timestamp"`
}

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

type VersionInfo struct {
	Version   string `json:"version"`
	BuildTime string `json:"buildTime"`
	AppName   string `json:"appName"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL