config

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() string

func Save

func Save(path string, cfg *Config) error

Types

type Config

type Config struct {
	InboxAppID              string `yaml:"inbox_app_id"`
	InboxAppSecret          string `yaml:"inbox_app_secret"`
	InboxDefaultMailbox     int    `yaml:"inbox_default_mailbox,omitempty"`
	InboxPermissions        string `yaml:"inbox_permissions,omitempty"`
	InboxPIIMode            string `yaml:"inbox_pii_mode,omitempty"`
	InboxPIIAllowUnredacted bool   `yaml:"inbox_pii_allow_unredacted,omitempty"`
	DocsAPIKey              string `yaml:"docs_api_key,omitempty"`
	DocsPermissions         string `yaml:"docs_permissions,omitempty"`
	Format                  string `yaml:"format,omitempty"`
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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