io

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.1

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.1

func (this *AuthChunkWriter) Release()

func (*AuthChunkWriter) Write

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

type Validator added in v1.12.5

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

Private: Visible for testing.

func NewValidator added in v1.12.5

func NewValidator(expectedAuth uint32) *Validator

func (*Validator) Consume added in v1.12.5

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

func (*Validator) Validate added in v1.12.5

func (this *Validator) Validate() bool

Jump to

Keyboard shortcuts

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