action

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActInit

func ActInit(ctx *cli.Context) (err error)

func ActWebHooks

func ActWebHooks(ctx *cli.Context) (err error)

Types

type Config

type Config struct {
	Webhook WebHooksConfig `toml:"webhook"`
	// contains filtered or unexported fields
}

func (*Config) Load

func (c *Config) Load(profile string) (err error)

func (Config) Write

func (c Config) Write() (err error)

type WebHooksConfig

type WebHooksConfig struct {
	Url       string `toml:"url"`
	Username  string `toml:"username"`
	IconEmoji string `toml:"icon_emoji"`
	IconUrl   string `toml:"icon_url"`
	Channel   string `toml:"channel"`
}

Jump to

Keyboard shortcuts

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