io

package
v2.8.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 (v *AuthChunkReader) Read() (*alloc.Buffer, error)

func (*AuthChunkReader) Release added in v1.11.2

func (v *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 (v *AuthChunkWriter) Release()

func (*AuthChunkWriter) Write

func (v *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 (v *Validator) Consume(b []byte)

func (*Validator) Validate added in v1.12.5

func (v *Validator) Validate() bool

Jump to

Keyboard shortcuts

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