jupiter

package module
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 88

README

JUPITER: Governance-oriented Microservice Framework

logo

GoTest codecov go.dev reference Go Report Card license

Introduction

JUPITER is a governance-oriented microservice framework, which is being used for years at Douyu.

Documentation

See the 中文文档 for the Chinese documentation.

Quick Start

go install github.com/douyu/jupiter/cmd/jupiter@latest
jupiter new example-go
cd example-go
docker-compose up
jupiter run -c cmd/exampleserver/.jupiter.toml

More Example:

Bugs and Feedback

For bug report, questions and discussions please submit an issue.

Contributing

Contributions are always welcomed! Please see CONTRIBUTING for detailed guidelines.

You can start with the issues labeled with good first issue.

Contact

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//StageAfterStop after app stop
	StageAfterStop uint32 = uint32(hooks.Stage_AfterStop)
	//StageBeforeStop before app stop
	StageBeforeStop = uint32(hooks.Stage_BeforeStop)
)
View Source
var WithConfigParser = application.WithConfigParser
View Source
var WithDisable = application.WithDisable

Functions

This section is empty.

Types

type Application

type Application = application.Application

Application is the framework's instance, it contains the servers, workers, client and configuration settings. Create an instance of Application, by using &Application{}

type Disable added in v0.2.4

type Disable = application.Disable
const (
	DisableParserFlag      Disable = application.DisableParserFlag
	DisableLoadConfig      Disable = application.DisableLoadConfig
	DisableDefaultGovernor Disable = application.DisableDefaultGovernor
)

type Option added in v0.2.4

type Option = application.Option

Jump to

Keyboard shortcuts

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