easyjson

package
v0.0.0-...-cc58ba3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuffer

func GetBuffer() *bytes.Buffer

func GetBufferChan

func GetBufferChan() *bytes.Buffer

func PutBuffer

func PutBuffer(buf *bytes.Buffer)

PutBuffer returns a buffer to the pool

func PutBufferChan

func PutBufferChan(buf *bytes.Buffer)

PutBuffer returns a buffer to the pool

Types

type Candidate

type Candidate struct{}

func (Candidate) ChannelHandlerFunc

func (Candidate) ChannelHandlerFunc(optionsC <-chan *presenter.Option) (http.HandlerFunc, error)

func (Candidate) HandlerFunc

func (Candidate) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (Candidate) UnmarshalOptions

func (Candidate) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type CandidateBuffer

type CandidateBuffer struct{}

func (CandidateBuffer) HandlerFunc

func (CandidateBuffer) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (CandidateBuffer) UnmarshalOptions

func (CandidateBuffer) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type CandidateParallel

type CandidateParallel struct{}

func (CandidateParallel) ChannelHandlerFunc

func (CandidateParallel) ChannelHandlerFunc(optionsC <-chan *presenter.Option) (http.HandlerFunc, error)

func (CandidateParallel) HandlerFunc

func (CandidateParallel) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (CandidateParallel) UnmarshalOptions

func (CandidateParallel) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type CandidateParallelChannel

type CandidateParallelChannel struct{}

func (CandidateParallelChannel) HandlerFunc

func (CandidateParallelChannel) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (CandidateParallelChannel) UnmarshalOptions

func (CandidateParallelChannel) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type CandidateParallelChannelBiggerBuf

type CandidateParallelChannelBiggerBuf struct{}

func (CandidateParallelChannelBiggerBuf) HandlerFunc

func (CandidateParallelChannelBiggerBuf) UnmarshalOptions

func (CandidateParallelChannelBiggerBuf) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type CandidateParallelGzip

type CandidateParallelGzip struct{}

func (CandidateParallelGzip) HandlerFunc

func (CandidateParallelGzip) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (CandidateParallelGzip) UnmarshalOptions

func (CandidateParallelGzip) UnmarshalOptions(b []byte) ([]*presenter.Option, error)

type GzipBuffer

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

func NewGzipBuffer

func NewGzipBuffer(w http.ResponseWriter) *GzipBuffer

func (*GzipBuffer) Close

func (gz *GzipBuffer) Close() error

func (*GzipBuffer) Write

func (gz *GzipBuffer) Write(p []byte) (int, error)

type GzipBuffer2

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

func NewGzipBuffer2

func NewGzipBuffer2(w http.ResponseWriter) *GzipBuffer2

func (*GzipBuffer2) Close

func (gz *GzipBuffer2) Close() error

func (*GzipBuffer2) Write

func (gz *GzipBuffer2) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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