args

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Port       int    `mapstructure:"port"`
	PeerDomain string `mapstructure:"peer-domain"`

	CleanupDuration        time.Duration `mapstructure:"cleanup-duration"`
	MemberListPort         int           `mapstructure:"memberlist-port"`
	MemberlistSyncDuration time.Duration `mapstructure:"memberlist-sync-duration"`

	LogLevel  string `mapstructure:"log-level"`
	LogFormat string `mapstructure:"log-format"`

	GithubClientID     string `mapstructure:"github-client-id"`
	GithubClientSecret string `mapstructure:"github-client-secret"`
	GithubOrg          string `mapstructure:"github-org"`
	JwtSigningKey      string `mapstructure:"jwt-signing-key"`
}

func (*Server) AuthEnabled

func (args *Server) AuthEnabled() bool

func (*Server) BindFlags

func (args *Server) BindFlags(flag *pflag.FlagSet)

func (*Server) Validate

func (args *Server) Validate() error

Jump to

Keyboard shortcuts

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