plugin

package
v0.0.0-...-cf56fbf Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunProvider

func RunProvider(store Provider) error

Types

type Provider

type Provider interface {
	Auth(setting map[string]interface{}, replay *bool) (err error)
	Query(qp QueryParam, replay *interface{}) (err error)
}

type ProviderMaster

type ProviderMaster struct {
	Path string
	// contains filtered or unexported fields
}

func (*ProviderMaster) Auth

func (pm *ProviderMaster) Auth() (replay bool, err error)

func (*ProviderMaster) Init

func (pm *ProviderMaster) Init(setting map[string]interface{}) error

func (*ProviderMaster) Query

func (pm *ProviderMaster) Query(qs string) (replay interface{}, err error)

type QueryParam

type QueryParam struct {
	Setting     map[string]interface{}
	QueryString string
}

Jump to

Keyboard shortcuts

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