atom

package
v0.0.0-...-b973768 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Atom

type Atom interface {
	Create(ctx context.Context, req *request.Request) error
	AtomID() AtomID
}

Atom ...

type AtomID

type AtomID struct {
	Type            string
	ID              string
	ExpansionDigest string
}

AtomID ...

func (AtomID) IsEmpty

func (id AtomID) IsEmpty() bool

func (AtomID) String

func (id AtomID) String() string

type Return

type Return struct {
	State state.State // State const
	Exit  int64       // Unix exit code
	Error error       // Go error
}

Return ...

type Runnable

type Runnable interface {
	Run(ctx context.Context) (Return, error)
	Stop(ctx context.Context) error
}

Runnable ...

Jump to

Keyboard shortcuts

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