function

package module
v0.0.0-...-f2f296d Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() *gin.Engine

Types

type AliveResponse

type AliveResponse struct {
	Type  string `json:"type"`
	Alive bool   `json:"alive"`
	Date  string `json:"date,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	Type   string `json:"type"`
	Status int    `json:"status"`
	Error  string `json:"error,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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