framework

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenBrowser bool
)

Functions

func AddProcessor added in v1.1.5

func AddProcessor(processor ...bean.Processor)

Types

type BootApplication added in v1.0.2

type BootApplication struct {
	bean.DefaultBean
	Log     *logrus.Logger `bean:"log"`
	Server  Server         `value:"server"`
	Logging Logging        `value:"logging"`
}

func Application

func Application() *BootApplication

func Component added in v1.1.4

func Component(c ...bean.Bean) *BootApplication

func (*BootApplication) Run added in v1.0.2

func (r *BootApplication) Run()

type Logging added in v1.0.7

type Logging struct {
	Level    string `json:"level" yaml:"level"`
	Instance string `json:"instance" yaml:"instance"`
}

type Server added in v1.0.7

type Server struct {
	Name string `json:"name" yaml:"name"`
}

Jump to

Keyboard shortcuts

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