controllers

package
v0.0.0-...-b9871e7 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyAppController

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

func NewMyAppController

func NewMyAppController(s services.ArticleServicer) *MyAppController

func (*MyAppController) GetArticleByIDHanlder

func (c *MyAppController) GetArticleByIDHanlder(w http.ResponseWriter, req *http.Request)

func (*MyAppController) HelloHandler

func (c *MyAppController) HelloHandler(w http.ResponseWriter, req *http.Request)

func (*MyAppController) ListArticleHandler

func (c *MyAppController) ListArticleHandler(w http.ResponseWriter, req *http.Request)

func (*MyAppController) PostArticleHandler

func (c *MyAppController) PostArticleHandler(w http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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