io

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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

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

func (this *AuthChunkWriter) Release()

func (*AuthChunkWriter) Write

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

type Validator

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

Private: Visible for testing.

func NewValidator

func NewValidator(expectedAuth uint32) *Validator

func (*Validator) Consume

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

func (*Validator) Validate

func (this *Validator) Validate() bool

Jump to

Keyboard shortcuts

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