electronapi

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 2 Imported by: 0

README

electron-api

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElectronPlugin

type ElectronPlugin struct {
	Impl Plugin
}

func (ElectronPlugin) Client

func (ElectronPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (*ElectronPlugin) Server

func (p *ElectronPlugin) Server(*plugin.MuxBroker) (interface{}, error)

type Plugin

type Plugin interface {
	OnEnable() string
}

type PluginRPC

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

func (*PluginRPC) OnEnable

func (p *PluginRPC) OnEnable() string

type PluginRPCServer

type PluginRPCServer struct {
	Impl Plugin
}

func (*PluginRPCServer) OnEnable

func (s *PluginRPCServer) OnEnable(args interface{}, resp *string) error

Jump to

Keyboard shortcuts

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