jupiter

package module
v0.11.15 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 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.

Online Demo

Jupiter Console (Juno)

Username: admin
Password: admin

Documentation

See the 中文文档 for the Chinese documentation.

Requirements

  • Go version >= 1.19
  • Docker

Quick Start

  1. Install jupiter toolkit
  2. Create example project from jupiter-layout
  3. Download go mod dependencies
  4. Run the example project with jupiter toolkit
  5. Just code yourself :-)
go install github.com/douyu/jupiter/cmd/jupiter@latest
jupiter new example-go
cd example-go
go mod tidy
docker-compose -f test/docker-compose.yml up -d
jupiter run -c cmd/exampleserver/.jupiter.toml

Learn More:

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

Directories

Path Synopsis
cmd
example module
pkg
util/xbuffer
Package buffer provides an implementation of an unbounded buffer.
Package buffer provides an implementation of an unbounded buffer.
util/xgeneric Module
proto
helloworld/v1
Package helloworldv1 is a reverse proxy.
Package helloworldv1 is a reverse proxy.
test
e2e Module
tools
jupiter Module

Jump to

Keyboard shortcuts

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