activityhandler

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

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is visit web handler

func New

func New(s service, l glog.Logger) *Handler

New return new rest api visit handler

func (*Handler) Create

func (h *Handler) Create(w http.ResponseWriter, r *http.Request)

Create handle insert activity HTTP Request

func (*Handler) Delete

func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)

Delete handle delete activity HTTP Request

func (*Handler) Get

func (h *Handler) Get(w http.ResponseWriter, r *http.Request)

Get handle get activity HTTP request

func (*Handler) GetAll

func (h *Handler) GetAll(w http.ResponseWriter, r *http.Request)

GetAll handle get activities HTTP Request

func (*Handler) Update

func (h *Handler) Update(w http.ResponseWriter, r *http.Request)

Update handle modify actitity HTTP Request

Jump to

Keyboard shortcuts

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