config

package
v1.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 7 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 {
	Token string `json:"token"`
}

Config is botkube cli config

func New

func New() (*Config, error)

New creates new Config from local data

func (*Config) Read

func (c *Config) Read() error

Read reads Config from local FS

func (*Config) Save

func (c *Config) Save() error

Save saves Config to local FS

Jump to

Keyboard shortcuts

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