ageplugin

package
v0.0.0-...-49146f6 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package ageplugin talks the plugin side of the age plugin protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

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

func New

func New(r io.Reader, w io.Writer) *Conn

func (*Conn) Prompt

func (conn *Conn) Prompt(question string) (string, error)

func (*Conn) ReadOk

func (conn *Conn) ReadOk() error

func (*Conn) ReadStanza

func (conn *Conn) ReadStanza() (*Stanza, error)

func (*Conn) WriteStanza

func (conn *Conn) WriteStanza(s *Stanza) error

type Stanza

type Stanza struct {
	Type string
	Args []string
	Body []byte
}

Jump to

Keyboard shortcuts

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