components

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ComponentCache = xcore.NewXCache("component", 0, 0)
View Source
var Components = map[string]Component{}
View Source
var ComponentsOrder = []string{}

Functions

func Link()

LinkComponents will call all the server components and link them with the system ready to use to link with the handler Link the components. NOTE THE ORDER IS VERY VERY IMPORTANT

Types

type Component

type Component interface {
	Start()
	NeedHandler() bool
	Handler(handler http.HandlerFunc) http.HandlerFunc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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