Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerContext ¶
type ServerContext struct { ProtocolClient protocol.Client AnchorWriter *mocks.MockAnchorWriter OpQueue *opqueue.MemQueue }
ServerContext implements batch context
func (*ServerContext) Anchor ¶ added in v0.6.0
func (m *ServerContext) Anchor() batch.AnchorWriter
Anchor returns anchor writer
func (*ServerContext) OperationQueue ¶ added in v0.1.3
func (m *ServerContext) OperationQueue() cutter.OperationQueue
OperationQueue returns the queue containing the pending operations
func (*ServerContext) Protocol ¶
func (m *ServerContext) Protocol() protocol.Client
Protocol returns the ProtocolClient
Click to show internal directories.
Click to hide internal directories.