config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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 Config

type Config struct {
	Jira struct {
		WebBaseURL        string `json:"web_base_url"`
		APIBaseURL        string `json:"api_base_url"`
		Email             string `json:"email"`
		Token             string `json:"token"`
		DefaultProjectKey string `json:"default_project_key"`
	} `json:"jira"`

	GitLab struct {
		APIBaseURL string `json:"api_base_url"`
		UserID     int    `json:"user_id"`
		Token      string `json:"token"`
	} `json:"gitlab"`

	Extras []struct {
		Type  string `json:"type"`
		ID    string `json:"id"`
		Token string `json:"token"`
	} `json:"extras"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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