framework

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenBrowser bool
)

Functions

This section is empty.

Types

type BootApplication added in v1.0.2

type BootApplication struct {
	Log     *logrus.Logger `bean:"log"`
	Server  Server         `value:"server"`
	Logging Logging        `value:"logging"`
	// contains filtered or unexported fields
}

func Application

func Application() *BootApplication

func (*BootApplication) Run added in v1.0.2

func (r *BootApplication) Run(args ...string)

func (*BootApplication) Use added in v1.0.2

func (r *BootApplication) Use(c ...bean.Bean) *BootApplication

type Logging added in v1.0.7

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

type Server added in v1.0.7

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

Jump to

Keyboard shortcuts

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