io

package
v0.0.0-...-eb79982 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOCtl

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

func NewIOCtl

func NewIOCtl(logfile, loglevel string, remotes []string, mgroups []uint32, bnames []string, transcoding_host string) (*IOCtl, error)

func (*IOCtl) Close

func (io *IOCtl) Close()

func (*IOCtl) FindBucket

func (io *IOCtl) FindBucket(name string) (*ebucket.BucketMeta, error)

func (*IOCtl) Get

func (io *IOCtl) Get(req *http.Request, w http.ResponseWriter, bucket, key string, modifier func(x string) string) (int, error)

func (*IOCtl) GetBucket

func (io *IOCtl) GetBucket(size uint64) (*ebucket.BucketMeta, error)

func (*IOCtl) GetKey

func (io *IOCtl) GetKey(req *http.Request, w http.ResponseWriter, bucket, key string) (int, error)

func (*IOCtl) MetaJson

func (io *IOCtl) MetaJson(oldreq *http.Request, w http.ResponseWriter, bucket, key string, modifier func(x string) string) (int, error)

func (*IOCtl) Ping

func (io *IOCtl) Ping() error

func (*IOCtl) Upload

func (io *IOCtl) Upload(req *http.Request, key string, modifier common.ModifierFunc) ([]common.Reply, error)

Jump to

Keyboard shortcuts

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