systemendpoint

package
v3.0.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: OSL-3.0 Imports: 5 Imported by: 2

README

Systemendpoint module

This package provides a second endpoint intended for internal use.

You can register simple http.Handler to a desired route via dingo map binding:

injector.BindMap((*domain.Handler)(nil), "/my/route").To(&myHandler{})

This module will then bring up an HTTP Server at the configured address systemendpoint.serviceAddr which defaults to :13210 serving all bound routes.

The server will be started on flamingo.AppStartupEvent and shut down on flamingo.AppShutdownEvent.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

Module basic struct

func (*Module) Configure

func (m *Module) Configure(injector *dingo.Injector)

Configure DI

func (*Module) DefaultConfig

func (m *Module) DefaultConfig() config.Map

DefaultConfig for the module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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