routing

package
v0.0.0-...-43db901 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Database *gorm.DB

Functions

func AppendAccountManagementEndpoints

func AppendAccountManagementEndpoints(router *mux.Router) error

func AppendApplicationEndpoints

func AppendApplicationEndpoints(router *mux.Router, db *gorm.DB) error

func AppendMarketEndpoints

func AppendMarketEndpoints(router *mux.Router, ga *blockchain.GladiusAccountManager) error

func AppendNodeManagerEndpoints

func AppendNodeManagerEndpoints(router *mux.Router, ga *blockchain.GladiusAccountManager) error

func AppendP2PEndPoints

func AppendP2PEndPoints(router *mux.Router, ga *blockchain.GladiusAccountManager) error

func AppendPoolManagerEndpoints

func AppendPoolManagerEndpoints(router *mux.Router, ga *blockchain.GladiusAccountManager, db *gorm.DB) error

func AppendServerEndpoints

func AppendServerEndpoints(router *mux.Router, db *gorm.DB) error

func AppendStatusEndpoints

func AppendStatusEndpoints(router *mux.Router) error

func AppendWalletManagementEndpoints

func AppendWalletManagementEndpoints(router *mux.Router, ga *blockchain.GladiusAccountManager) error

func InitializeAPISubRoutes

func InitializeAPISubRoutes(router *mux.Router)

func InitializeRouter

func InitializeRouter() (*mux.Router, error)

Types

type ControlRouter

type ControlRouter struct {
	Router *mux.Router
	Port   string
	Debug  bool
}

func (*ControlRouter) Start

func (cRouter *ControlRouter) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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