Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChainedClosable ¶
type ChainedClosable []Closable
ChainedClosable is a Closable that consists of multiple Closable objects.
type Closable ¶
type Closable interface { // Close release all resources used by this object, including goroutines. Close() error }
Closable is the interface for objects that can release its resources.
xray:api:beta
type HasType ¶
type HasType interface { // Type returns the type of the object. // Usually it returns (*Type)(nil) of the object. Type() interface{} }
HasType is the interface for objects that knows its type.
type Interruptible ¶
type Interruptible interface {
Interrupt()
}
Interruptible is an interface for objects that can be stopped before its completion.
xray:api:beta
Click to show internal directories.
Click to hide internal directories.