http

package
v0.0.0-...-e086fb0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *mongo.Client

Functions

func CreateHandler

func CreateHandler(w http.ResponseWriter, r *http.Request)

func NewHandler

func NewHandler(w http.ResponseWriter, r *http.Request)

func ViewHandler

func ViewHandler(w http.ResponseWriter, r *http.Request)

Types

type Comment

type Comment struct {
	Name    string
	Message string
}

type Guestbook

type Guestbook struct {
	CommentCount int
	Comments     []Comment
}

Jump to

Keyboard shortcuts

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