cmd

package
v0.0.0-...-ee7f901 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type DefaultHandler

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

func (*DefaultHandler) HandleRequest

func (h *DefaultHandler) HandleRequest(ctx *handlers.Ctx)

func (*DefaultHandler) SetNext

func (h *DefaultHandler) SetNext(handler handlers.Handler)

type Plugin

type Plugin struct {
	Name   string         `json:"name"`
	Config map[string]any `json:"config"`
}

type RemoteConfig

type RemoteConfig struct {
	Name     string   `json:"name"`
	Url      string   `json:"url"`
	Interval string   `json:"interval"`
	Plugins  []Plugin `json:"plugins"`
}

type RemoteConfigs

type RemoteConfigs []RemoteConfig

Jump to

Keyboard shortcuts

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