unixsocket

package module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClient

func WithClient() plugins.Plugin

func WithServer

func WithServer() plugins.Plugin

Types

type Client

type Client interface {
	Create(path string) (ClientConnect, error)
}

type ClientConnect

type ClientConnect interface {
	Exec(name string, b []byte) ([]byte, error)
	ExecString(name string, b string) ([]byte, error)
}

type Config

type Config struct {
	Path string `yaml:"unix"`
}

func (*Config) Default

func (v *Config) Default()

type Server

type Server interface {
	Command(name string, h func([]byte) ([]byte, error))
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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