systemendpoint

package
v3.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 3 Imported by: 2

README

Systemendpoint module

This package provides a second endpoint intended for non public 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.ServerStartEvent and shut down on flamingo.ServerShutdownEvent.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct{}

Module basic struct

func (*Module) Configure

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

Configure DI

func (*Module) CueConfig added in v3.1.0

func (*Module) CueConfig() string

CueConfig for the module

func (*Module) FlamingoLegacyConfigAlias added in v3.1.0

func (*Module) FlamingoLegacyConfigAlias() map[string]string

FlamingoLegacyConfigAlias maps legacy config to new

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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