Documentation
¶
Index ¶
- Variables
- func DisableDatabaseLogs()
- func Exit(code ExitCode, err error)
- func JWTExtractor(next echo.HandlerFunc) echo.HandlerFunc
- func MustMeetSecretCriteria(secret string)
- func Render(ctx echo.Context, statusCode int, t templ.Component) error
- func Terminate(err AppError)
- type AppError
- type AppOption
- type Context
- type ExitCode
- type Runway
- func (a *Runway) CreateUser(firstName, lastName, email string) uuid.UUID
- func (a *Runway) DeleteUser(id uuid.UUID)
- func (r *Runway) GET(path string, fn func(c Context) error)
- func (r *Runway) Group(path string) *echo.Group
- func (a *Runway) SetPort(port int) *Runway
- func (a *Runway) Start()
- func (r *Runway) StaticFS(path string, fs fs.FS)
- type RunwayLogger
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DisableDatabaseLogs ¶
func DisableDatabaseLogs()
func JWTExtractor ¶
func JWTExtractor(next echo.HandlerFunc) echo.HandlerFunc
func MustMeetSecretCriteria ¶
func MustMeetSecretCriteria(secret string)
Types ¶
type AppError ¶
func NewAppError ¶
type Runway ¶
type Runway struct {
// contains filtered or unexported fields
}
func (*Runway) CreateUser ¶
func (*Runway) DeleteUser ¶
type RunwayLogger ¶
RunwayLogger is a composite logger that embeds a slog.Logger for structured logging and includes a gormLogger for database logging integration. This allows unified logging across application and database layers.
func NewRunwayLogger ¶
func NewRunwayLogger() *RunwayLogger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.
