chunker

package
v0.0.0-...-ee7ae68 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkerAPI

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

func NewChunkerAPI

func NewChunkerAPI(apiStack *stack.Stack) *ChunkerAPI

func (*ChunkerAPI) Get

func (n *ChunkerAPI) Get(nameString string, callback ResponseCallback)

func (*ChunkerAPI) Serve

func (n *ChunkerAPI) Serve(nameString string, callback RequestCallback)

type RequestCallback

type RequestCallback func(string, []byte) []byte

type ResponseCallback

type ResponseCallback func([]byte)

Jump to

Keyboard shortcuts

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