baseplugin

package
v0.0.0-...-60dc3e1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(
	name string,
	cmd *exec.Cmd,
	l hclog.Logger,
	p plugin.Plugin,
	hs plugin.HandshakeConfig) (client *Client, obj any, err error)

func (*Client) Close

func (c *Client) Close()

func (*Client) RawClient

func (c *Client) RawClient() *plugin.Client

type Server

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

func NewServer

func NewServer(
	name string,
	l hclog.Logger,
	hs plugin.HandshakeConfig,
	impl plugin.Plugin) (*Server, error)

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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