config

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

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save() error

Types

type Config

type Config struct {
	Events map[string]map[string]EventAction `json:"events" yaml:"events"`
}

func C

func C() Config

type EventAction

type EventAction struct {
	Disabled bool   `json:"disabled" yaml:"disabled"`
	Template string `json:"template" yaml:"template"`
}

Jump to

Keyboard shortcuts

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