Documentation ¶
Index ¶
- func GetBuffer() *bytes.Buffer
- func GetBufferChan() *bytes.Buffer
- func PutBuffer(buf *bytes.Buffer)
- func PutBufferChan(buf *bytes.Buffer)
- type Candidate
- type CandidateBuffer
- type CandidateParallel
- type CandidateParallelChannel
- type CandidateParallelChannelBiggerBuf
- type CandidateParallelGzip
- type GzipBuffer
- type GzipBuffer2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBufferChan ¶
Types ¶
type Candidate ¶
type Candidate struct{}
func (Candidate) ChannelHandlerFunc ¶
func (Candidate) HandlerFunc ¶
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) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)
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
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
Click to show internal directories.
Click to hide internal directories.