repository

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginList

func GetPluginList(ctx context.Context) (map[string]Plugin, error)

Types

type Plugin

type Plugin struct {
	meta.PluginMeta
	Permissions []string `json:"Permissions"`
	DownloadUrl string   `json:"DownloadUrl"`
}

type ResponseStruct

type ResponseStruct struct {
	ApiVersion int               `json:"ApiVersion"`
	Plugins    map[string]Plugin `json:"Plugins"`
}

func (ResponseStruct) MarshalEasyJSON

func (v ResponseStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ResponseStruct) MarshalJSON

func (v ResponseStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ResponseStruct) UnmarshalEasyJSON

func (v *ResponseStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ResponseStruct) UnmarshalJSON

func (v *ResponseStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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