v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

TODO: migrate this to subdir like 'block'

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRoutes

func ConfigureRoutes(g *gin.RouterGroup)

func ConfigureRoutesEpoch

func ConfigureRoutesEpoch(g *gin.RouterGroup)

func HandleGetEpoch

func HandleGetEpoch(c *gin.Context)

XXX: this doesn't actually do anything useful since the underlying 'epoch' table in the DB is empty

Types

type GetEpochUriParams

type GetEpochUriParams struct {
	Number uint32 `uri:"number" binding:"required"`
}

URI params for GetEpoch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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