serve

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServeCmd

func NewServeCmd() (cmd *cobra.Command)

Types

type ServeConfig

type ServeConfig struct {
	Zone   string `yaml:"zone" env:"COBASE_ZONE"`
	Addr   string `yaml:"addr" env:"COBASE_ADDR"`
	Log    string `yaml:"log" env:"COBASE_LOG"`
	Dsn    string `yaml:"dsn" env:"COBASE_DSN"`
	Pulsar struct {
		Url       string `yaml:"url" env:"COBASE_PULSAR_URL"`
		Namespace string `yaml:"namespace" env:"COBASE_PULSAR_NAMESPACE"`
	} `yaml:"pulsar"`
	Pikav struct {
		Url       string `yaml:"url" env:"COBASE_PIKAV_URL"`
		Namespace string `yaml:"namespace" env:"COBASE_PIKAV_NAMESPACE"`
	} `yaml:"pikav"`
	Jwks struct {
		Url string `yaml:"url" env:"COBASE_JWKS_URL"`
	} `yaml:"jwks"`
}

Jump to

Keyboard shortcuts

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