config

package
v0.0.0-...-7376071 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel    string
	LogFormat   string
	GitHubToken string
}

func NewConfig

func NewConfig(opts ...Option) *Config

type GitHubToken

type GitHubToken string

func (GitHubToken) Apply

func (o GitHubToken) Apply(c *Config)

type LogFormat

type LogFormat string

func (LogFormat) Apply

func (o LogFormat) Apply(c *Config)

type LogLevel

type LogLevel string

func (LogLevel) Apply

func (o LogLevel) Apply(c *Config)

type Option

type Option interface {
	Apply(*Config)
}

Jump to

Keyboard shortcuts

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