v1

package
v0.0.0-...-c97bdb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 9 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
	State *state.State
	NS    *nameservice.NameService
	Evts  *events.Events
}

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