plugin

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: GPL-3.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronjobPluginParser

func CronjobPluginParser(fp string) (*cronjob.CreateParam, error)

func KeywordPluginParser

func KeywordPluginParser(fp string) (*keyword.CreateParam, error)

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache

func NewCache(file string) *Cache

func (*Cache) Del

func (c *Cache) Del(k string)

func (*Cache) Get

func (c *Cache) Get(k string) uint

func (*Cache) Put

func (c *Cache) Put(k string, v uint)

type CronjobPlugin

type CronjobPlugin struct {
	Config *cronjob.CreateParam `json:"config"`
	Error  string               `json:"error"`
	Name   string               `json:"file"`
}

func CronjobPluginSetup

func CronjobPluginSetup() []*CronjobPlugin

type KeywordPlugin

type KeywordPlugin struct {
	Config *keyword.CreateParam `json:"config"`
	Error  string               `json:"error"`
	Name   string               `json:"file"`
}

func KeywordPluginSetup

func KeywordPluginSetup() []*KeywordPlugin

Jump to

Keyboard shortcuts

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