gzip

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 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 int

Gzip represents a gzip coding middleware.

func New

func New(n int) *Gzip

New returns the gzip coding middleware.

func (*Gzip) Decode

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

Decode implements arpc MessageCoder.

func (*Gzip) Encode

func (g *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