plan

package
v0.0.0-...-7fd5faa Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminRouter

func AdminRouter() chi.Router

AdminRouter - Group of plan router

func Create

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

Create - create plan @Summary Create plan @Description create plan @Tags Plan @ID add-plan @Consume json @Produce json @Param X-User header string true "User ID" @Param X-Organisation header string true "Organisation ID" @Param Plan body plan true "Plan object" @Success 201 {object} model.Plan @Router /plans [post]

func UserRouter

func UserRouter() chi.Router

UserRouter - Group of plan router

Types

This section is empty.

Jump to

Keyboard shortcuts

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