v1

package
v0.0.0-...-f0b25c7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains the full set of handler functions and routes supported by the v1 web api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivateRoutes

func PrivateRoutes(app *web.App, cfg Config)

PrivateRoutes binds all the version 1 private routes.

func PublicRoutes

func PublicRoutes(app *web.App, cfg Config)

PublicRoutes binds all the version 1 public routes.

Types

type Config

type Config struct {
	Log *zap.SugaredLogger
}

Config contains all the mandatory systems required by handlers.

Directories

Path Synopsis
Package private maintains the group of handlers for node to node access.
Package private maintains the group of handlers for node to node access.
Package public maintains the group of handlers for public access.
Package public maintains the group of handlers for public access.

Jump to

Keyboard shortcuts

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