config

package
v0.0.0-...-0c0791d Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 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 {
	Integrations map[string]IntegrationRecord
}

func NewConfig

func NewConfig(configFile string) *Config

func (*Config) AddIntegrationRecord

func (c *Config) AddIntegrationRecord(Name string, Token string, DatabaseId string) error

func (*Config) Get

func (c *Config) Get() error

func (*Config) RemoveIntegrationRecord

func (c *Config) RemoveIntegrationRecord(Name string) error

type IntegrationRecord

type IntegrationRecord struct {
	Token      string
	DatabaseId string
}

Jump to

Keyboard shortcuts

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