config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 5 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 {
	GitLabURL     string
	GitLabToken   string
	EnabledTools  []string // nil = all enabled
	DisabledTools []string
	Debug         bool
}

Config はアプリケーション設定を保持する

func Load

func Load() (*Config, error)

Load は環境変数から設定を読み込む

func (*Config) IsToolEnabled

func (c *Config) IsToolEnabled(toolName string) bool

IsToolEnabled はツールが有効かどうかを判定する DISABLED_TOOLS が ENABLED_TOOLS より優先される

func (*Config) String

func (c *Config) String() string

String は設定の文字列表現を返す(トークンはマスキング)

Jump to

Keyboard shortcuts

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