gzip

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gzip

type Gzip struct {
	// contains filtered or unexported fields
}

Gzip represents a gzip coding middleware.

func New

func New() *Gzip

New returns the gzip coding middleware.

func (*Gzip) Decode

func (c *Gzip) Decode(client *arpc.Client, msg *arpc.Message) *arpc.Message

Decode implements arpc MessageCoder.

func (*Gzip) Encode

func (c *Gzip) Encode(client *arpc.Client, msg *arpc.Message) *arpc.Message

Encode implements arpc MessageCoder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL