pluginmanager

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLocalPlugins

func CheckLocalPlugins(conf *configmanager.Config) error

CheckLocalPlugins checks if the local plugins exists, and matches with md5 value.

func DownloadPlugins

func DownloadPlugins(conf *configmanager.Config) error

func LocalContentMD5

func LocalContentMD5(file string) (string, error)

ConntentMD5 gen from file

Types

type DownloadClient

type DownloadClient struct {
	*resty.Client
	// contains filtered or unexported fields
}

func NewDownloadClient

func NewDownloadClient() *DownloadClient

type PbDownloadClient

type PbDownloadClient struct {
	*http.Client
	// contains filtered or unexported fields
}

func NewPbDownloadClient

func NewPbDownloadClient(baseURL string) *PbDownloadClient

Jump to

Keyboard shortcuts

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