provicol

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ping askingBytecode = iota
	Connect
	ListBuckets
	ListObjects
	GetObject
	PutObject
	CreateBucket
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Child added in v0.0.2

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

func NewChild added in v0.0.2

func NewChild(socketPath string) (*Child, error)

func (*Child) Bind added in v0.0.2

func (l *Child) Bind(op askingBytecode, fn any)

func (*Child) Close added in v0.0.3

func (c *Child) Close() error

func (*Child) Flush added in v0.0.4

func (c *Child) Flush()

func (*Child) Listen added in v0.0.2

func (l *Child) Listen() error

func (*Child) Reply added in v0.0.4

func (c *Child) Reply(v any)

type ChildResponse added in v0.0.2

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

func (*ChildResponse) Scan added in v0.0.2

func (r *ChildResponse) Scan(dests ...any) error

type Parent added in v0.0.2

type Parent struct {
	io.Closer
	// contains filtered or unexported fields
}

func NewParent added in v0.0.2

func NewParent(socketPath string, perms os.FileMode) (*Parent, error)

func (*Parent) Ask added in v0.0.2

func (m *Parent) Ask(op askingBytecode, args ...any) *ChildResponse

func (*Parent) Close added in v0.0.2

func (m *Parent) Close() error

Jump to

Keyboard shortcuts

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