Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnOpen ConnectionOperationType = "open" ConnClose ConnectionOperationType = "close" IoOpen IoOperationType = "open" IoClose IoOperationType = "close" IoRead IoOperationType = "read" IoWrite IoOperationType = "write" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionError ¶
type ConnectionError struct { Operation ConnectionOperationType Address string Err error }
func (*ConnectionError) Error ¶
func (e *ConnectionError) Error() string
func (*ConnectionError) Unwrap ¶
func (e *ConnectionError) Unwrap() error
type ConnectionOperationType ¶
type ConnectionOperationType string
type IllegalArgumentError ¶
func (*IllegalArgumentError) Error ¶
func (e *IllegalArgumentError) Error() string
type InvalidStatusError ¶
type InvalidStatusError struct {
StatusCode int
}
func (*InvalidStatusError) Error ¶
func (e *InvalidStatusError) Error() string
type IoError ¶
type IoError struct { Operation IoOperationType Resource string Err error }
type IoOperationType ¶
type IoOperationType string
type OpenCloser ¶
type Resource ¶
type Resource interface { OpenCloser GetID() string }
type ResourceReader ¶
type ResourceWriter ¶
Click to show internal directories.
Click to hide internal directories.