router

package
v0.0.0-...-def7031 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router defines a router wrapper used for registering API routes.

func New

func New(cfg config.Config, rtr *mux.Router, oracle *oracle.Oracle) Router

func (Router) RegisterRoutes

func (r Router) RegisterRoutes()

RegisterRoutes registers API routes on all supported versioned API sub-paths.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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