thriftrw: Index | Files

package envelope

import ""


Package Files


func ReadReply Uses

func ReadReply(p protocol.Protocol, r io.ReaderAt) (_ wire.Value, seqID int32, _ error)

ReadReply reads enveloped responses from the given reader.

func Write Uses

func Write(p protocol.Protocol, w io.Writer, seqID int32, e Enveloper) error

Write writes an Envelope to the given writer.

type Enveloper Uses

type Enveloper interface {
    MethodName() string
    EnvelopeType() wire.EnvelopeType
    ToWire() (wire.Value, error)

Enveloper is the interface implemented by a type that can be written with an envelope.

Package envelope imports 5 packages (graph) and is imported by 5 packages. Updated 2020-01-05. Refresh now. Tools for package owners.