Version: v0.3.1 Latest Latest

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 0 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Config

type Config struct {
	File         string
	Log          Log
	Debug        Debug
	HTTP         HTTP
	Tracing      Tracing
	TokenManager TokenManager

Config combines all available configuration parts.

func New

func New() *Config

New initializes a new configuration with or without defaults.

type Debug

type Debug struct {
	Addr   string
	Token  string
	Pprof  bool
	Zpages bool

Debug defines the available debug configuration.

type HTTP

type HTTP struct {
	Addr      string
	Namespace string
	Root      string

HTTP defines the available http configuration.

type Log

type Log struct {
	Level  string
	Pretty bool
	Color  bool

Log defines the available logging configuration.

type TokenManager

type TokenManager struct {
	JWTSecret string

TokenManager is the config for using the reva token manager

type Tracing

type Tracing struct {
	Enabled   bool
	Type      string
	Endpoint  string
	Collector string
	Service   string

Tracing defines the available tracing configuration.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL