internal

package
v0.0.0-...-9981dbb Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIHandler

func NewAPIHandler(assets embed.FS) http.Handler

Types

type GetTimeResponse

type GetTimeResponse struct {
	Now    JSONTime `json:"now"`
	NowUTC JSONTime `json:"nowUTC"`
}

type JSONTime

type JSONTime time.Time

func (JSONTime) MarshalJSON

func (t JSONTime) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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