maintainerimpl

package
v0.0.0-...-6574dfe Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit()

func Init

func Init(cfg *Config) error

func Maintainer

func Maintainer() *maintainerImpl

Types

type Config

type Config struct {
	TCSig   string `json:"tc_sig"`
	ReadURL string `json:"read_url" required:"true"`

	// Interval the unit is hour
	Interval int `json:"interval" required:"true"`
}

func (*Config) IntervalDuration

func (cfg *Config) IntervalDuration() time.Duration

func (*Config) SetDefault

func (cfg *Config) SetDefault()

Jump to

Keyboard shortcuts

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