controller

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigRespMap

type ConfigRespMap struct {
	Configuration map[string]interface{}
}

type RestController added in v1.1.0

type RestController struct {
	LoggingClient logger.LoggingClient
	// contains filtered or unexported fields
}

func NewRestController added in v1.1.0

func NewRestController(r *mux.Router, dic *di.Container) *RestController

func (*RestController) AddRoute added in v1.1.0

func (c *RestController) AddRoute(route string, handler func(http.ResponseWriter, *http.Request), methods ...string) error

func (*RestController) InitRestRoutes added in v1.1.0

func (c *RestController) InitRestRoutes()

func (*RestController) InitV2RestRoutes added in v1.3.0

func (c *RestController) InitV2RestRoutes()

func (*RestController) Router added in v1.1.0

func (c *RestController) Router() *mux.Router

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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