Categorygithub.com/blinklabs-io/ouroboros-mock
modulepackage
0.3.5
Repository: https://github.com/blinklabs-io/ouroboros-mock.git
Documentation: pkg.go.dev

# README

ouroboros-mock

Go library and CLI framework for mocking Ouroboros connections

# Packages

No description provided by the author

# Functions

NewConnection returns a new Connection with the provided conversation entries.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Client protocol role.
Default (invalid) protocol role.
Server protocol role.

# Variables

ConversationEntryHandshakeNtCResponse is a pre-defined conversation entry for a server NtC handshake response.
ConversationEntryHandshakeNtNResponse is a pre-defined conversation entry for a server NtN handshake response.
ConversationEntryHandshakeRequestGeneric is a pre-defined conversation event that matches a generic handshake request from a client.
ConversationEntryKeepAliveRequest is a pre-defined conversation entry for a keep-alive request.
ConversationEntryKeepAliveResponse is a pre-defined conversation entry for a keep-alive response.
ConversationKeepAlive is a pre-defined conversation with a NtN handshake and repeated keep-alive requests and responses.
ConversationKeepAliveClose is a pre-defined conversation with a NtN handshake that will close the connection after receiving a keep-alive request.

# Structs

Connection mocks an Ouroboros connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

ProtocolRole is an enum of the protocol roles.