gettime

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const InvalidInput = "INVALID_INPUT"

Variables

This section is empty.

Functions

func Handle

func Handle()

func NewInvalidInputException

func NewInvalidInputException() exception.Exception

Types

type Ctx

type Ctx = *core.Context[InputDto, OutputDto]

type IInput

type IInput struct {
	// contains filtered or unexported fields
}

type IOutput

type IOutput = *core.Res[OutputDto]

type IRouter

type IRouter = core.Router[InputDto, OutputDto]

type InputDto

type InputDto struct {
	Unix string `json:"unix" validate:"required,min=1"`
}

type OutputDto

type OutputDto struct {
	Time string `json:"time"`
}

Jump to

Keyboard shortcuts

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