shared

package
v0.0.0-...-6bf420b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotCS

type DotCS interface {
	DotCS() string
	Print(string) string
}

DotCSer is the interface that we're exposing as a plugin.

type DotCSPlugin

type DotCSPlugin struct {
	Impl DotCS
}

func (DotCSPlugin) Client

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

func (*DotCSPlugin) Server

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

type DotCSRPC

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

Here is an implementation that talks over RPC

func (*DotCSRPC) DotCS

func (g *DotCSRPC) DotCS() string

func (*DotCSRPC) Print

func (g *DotCSRPC) Print() string

type DotCSRPCServer

type DotCSRPCServer struct {
	Impl DotCS
}

func (*DotCSRPCServer) DotCS

func (s *DotCSRPCServer) DotCS(args interface{}, resp *string) error

func (*DotCSRPCServer) Print

func (g *DotCSRPCServer) Print(string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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