Documentation
¶
Overview ¶
Package metadata for websocket or socket from rsocket-rpc-go Metadata
Index ¶
- Constants
- type Metadata
- func (p *Metadata) Address() string
- func (p *Metadata) Get(key string) string
- func (p *Metadata) Method() string
- func (p *Metadata) Payload() []byte
- func (p *Metadata) Service() string
- func (p *Metadata) Set(key, value string)
- func (p *Metadata) SetMethod(method string)
- func (p *Metadata) String() string
- func (p *Metadata) Tracing() string
- func (p *Metadata) Version() string
- func (p *Metadata) VersionUint16() uint16
Constants ¶
View Source
const RsocketRpcVersion = uint16(1)
RsocketRpcVersion rsocket-rpc version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func DecodeMetadata ¶
func EncodeMetadata ¶
func (*Metadata) VersionUint16 ¶
Click to show internal directories.
Click to hide internal directories.