io

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocBuffer added in v1.12.6

func AllocBuffer(size int) *alloc.Buffer

@Private

func Authenticate

func Authenticate(buffer *alloc.Buffer)

Types

type AuthChunkReader

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

func NewAuthChunkReader

func NewAuthChunkReader(reader io.Reader) *AuthChunkReader

func (*AuthChunkReader) Read

func (this *AuthChunkReader) Read() (*alloc.Buffer, error)

func (*AuthChunkReader) Release added in v1.11.2

func (this *AuthChunkReader) Release()

type AuthChunkWriter

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

func NewAuthChunkWriter

func NewAuthChunkWriter(writer v2io.Writer) *AuthChunkWriter

func (*AuthChunkWriter) Release added in v1.11.2

func (this *AuthChunkWriter) Release()

func (*AuthChunkWriter) Write

func (this *AuthChunkWriter) Write(buffer *alloc.Buffer) error

type Validator added in v1.12.6

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

@Private

func NewValidator added in v1.12.6

func NewValidator(expectedAuth uint32) *Validator

func (*Validator) Consume added in v1.12.6

func (this *Validator) Consume(b []byte)

func (*Validator) Validate added in v1.12.6

func (this *Validator) Validate() bool

Jump to

Keyboard shortcuts

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