handlers

package
v0.0.0-...-0e2d155 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2015 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Implements HTTP2d's set of handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirList

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

DirList class

func NewDirList

func NewDirList() *DirList

NewDirList instances a new dirlist handler

func (*DirList) Init

func (dirlist *DirList) Init() error

Init initializes the DirList handler

func (*DirList) Reply

func (dirlist *DirList) Reply(w http.ResponseWriter, r *http.Request)

Reply builds a DirList response

type Handler

type Handler interface {
	Init() error
	Reply(w http.ResponseWriter, r *http.Request)
}

Jump to

Keyboard shortcuts

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