Documentation ¶
Overview ¶
Package hookah provides input/output stream constructors.
Index ¶
Constants ¶
View Source
const Version = "2.2.0"
Version of hookah API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v1.0.0
type API struct {
// contains filtered or unexported fields
}
API is an instance of the Hookah API.
func (*API) ListProtocols ¶
ListProtocols returns all registered protocols.
func (*API) RegisterProtocol ¶
RegisterProtocol registers a new protocol handler.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
hookah
Package main implements the main hookah CLI tool.
|
Package main implements the main hookah CLI tool. |
examples
|
|
certstream
Example of using hookah to create an input node from the CertStream WebSocket API (https://certstream.calidog.io/).
|
Example of using hookah to create an input node from the CertStream WebSocket API (https://certstream.calidog.io/). |
customproto
Example of using hookah with a custom protocol.
|
Example of using hookah with a custom protocol. |
internal
|
|
app
Package app implements main hookah application Node manager.
|
Package app implements main hookah application Node manager. |
protocols
Package protocols implements all builtin hookah protocols.
|
Package protocols implements all builtin hookah protocols. |
pkg
|
|
fanout
Package fanout implements a fanout type that makes it easy to build publish-subcribe patterns using []byte channels.
|
Package fanout implements a fanout type that makes it easy to build publish-subcribe patterns using []byte channels. |
flagslice
Package flagslice implements a variable argument string type for CLI flags.
|
Package flagslice implements a variable argument string type for CLI flags. |
node
Package node implements Node type.
|
Package node implements Node type. |
Click to show internal directories.
Click to hide internal directories.