config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 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 {
	Medium   string `json:"medium"`   // The user-generated Medium Integration token
	DEV      string `json:"dev"`      // The user-generated DEV Community API key
	Hashnode string `json:"hashnode"` // The user-generated Hashnode Personal Access Token
	GitHub   string `json:"github"`   // The user-generated GitHub Person Access Token

	Path string `json:"path"`
}
var Auth *Config

func (*Config) AddToken

func (c *Config) AddToken(token, platform string) error

func (*Config) Save

func (c *Config) Save() error

Jump to

Keyboard shortcuts

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