package controller
import "github.com/edgexfoundry/device-sdk-go/internal/controller"
Index ¶
- type ConfigRespMap
- type RestController
- func NewRestController(r *mux.Router, dic *di.Container) *RestController
- func (c *RestController) AddRoute(route string, handler func(http.ResponseWriter, *http.Request), methods ...string) error
- func (c *RestController) InitRestRoutes()
- func (c *RestController) InitV2RestRoutes()
- func (c *RestController) Router() *mux.Router
Types ¶
type ConfigRespMap ¶
type ConfigRespMap struct { Configuration map[string]interface{} }
type RestController ¶
type RestController struct { LoggingClient logger.LoggingClient // contains filtered or unexported fields }
func NewRestController ¶
func NewRestController(r *mux.Router, dic *di.Container) *RestController
func (*RestController) AddRoute ¶
func (c *RestController) AddRoute(route string, handler func(http.ResponseWriter, *http.Request), methods ...string) error
func (*RestController) InitRestRoutes ¶
func (c *RestController) InitRestRoutes()
func (*RestController) InitV2RestRoutes ¶
func (c *RestController) InitV2RestRoutes()
func (*RestController) Router ¶
func (c *RestController) Router() *mux.Router
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/controller/correlation |
- Version
- v1.4.0 (latest)
- Published
- Dec 21, 2020
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 4 days ago –
Tools for package owners.