config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudflareClient

func NewCloudflareClient(apiKey, apiEmail, apiToken, apiUserServiceKey string) (api *cloudflare.API, err error)

Types

type PluginContext

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

func NewPluginContext

func NewPluginContext(e env.Enver, cli *cloudflare.API, settings *Settings) *PluginContext

func (*PluginContext) CloudflareClient

func (c *PluginContext) CloudflareClient() *cloudflare.API

func (*PluginContext) Env

func (c *PluginContext) Env() env.Enver

func (*PluginContext) FuncCache

func (c *PluginContext) FuncCache(key string, f func() (interface{}, error)) (interface{}, error)

func (*PluginContext) Settings

func (c *PluginContext) Settings() *Settings

type Settings

type Settings struct {
}

Jump to

Keyboard shortcuts

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