slack

package
v0.0.0-...-3da9470 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFilepath

func GetConfigFilepath(configPath string) string

Types

type Config

type Config struct {
	Workspaces []Workspace
}

func (*Config) Parse

func (c *Config) Parse(filePath string) error

func (*Config) Save

func (c *Config) Save(configFilepath string) error

func (*Config) Valid

func (c *Config) Valid() error

type Group

type Group string

type Workspace

type Workspace struct {
	Name        string
	User        string
	AccessToken string `yaml:"accessToken"`
	Groups      []Group
}

Jump to

Keyboard shortcuts

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