package
0.8.14
Repository: https://github.com/rsocket/rsocket-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewFrameHeader returns a new frame header.
NewTrafficCounter returns a new counter.
NewVersion creates a new Version from major and minor.
ParseFrameHeader parse a header from bytes.
ResetFrameHeader resets the original frame header bytes.
WriteFrameHeader writes frame header into a io.Writer.

# Constants

ErrorCodeApplicationError means application layer logic generating a Reactive Streams onError event.
ErrorCodeCanceled means the Responder canceled the request but may have started processing it (similar to REJECTED but doesn't guarantee lack of side-effects).
ErrorCodeConnectionClose means the connection is being terminated.
ErrorCodeConnectionError means the connection is being terminated.
ErrorCodeInvalid means the request is invalid.
ErrorCodeInvalidSetup means the setup frame is invalid for the server.
ErrorCodeRejected means Responder reject it.
ErrorCodeRejectedResume means server rejected the resume, it can specify the reason in the payload.
ErrorCodeRejectedSetup means server rejected the setup, it can specify the reason in the payload.
ErrorCodeUnsupportedSetup means some (or all) of the parameters specified by the client are unsupported by the server.
All frame flags.
All frame flags.
All frame flags.
All frame flags.
All frame flags.
All frame flags.
All frame flags.
All frame flags.
FrameHeaderLen is len of header.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.
All frame types.

# Variables

DefaultVersion is default protocol version.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.
Error defines.

# Structs

TrafficCounter represents a counter of read/write bytes.

# Interfaces

BufferedFrame is a single message containing a request, response, or protocol processing.
CustomError provides a method of accessing code and data.
No description provided by the author
WriteableFrame means writeable frame.

# Type aliases

ErrorCode is code for RSocket error.
FrameFlag is flag of frame.
FrameHeader is the header fo a RSocket frame.
FrameType is type of frame.
Version define the version of protocol.