onstatic

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillAllPlugin added in v0.6.0

func KillAllPlugin()

func RegisterHandler

func RegisterHandler(s *http.ServeMux)

RegisterHandler define http request handler.

Types

type PluginClient added in v0.6.0

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

func NewPluginClient added in v0.6.0

func NewPluginClient(pluginFile string) *PluginClient

NewPluginClient can call from only host side. Plugin must not call this func.

func (*PluginClient) GetAPIClient added in v0.6.0

func (p *PluginClient) GetAPIClient() (pluginpb.OnstaticPluginClient, error)

func (*PluginClient) Kill added in v0.6.0

func (p *PluginClient) Kill()

Jump to

Keyboard shortcuts

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