webserver

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArticleHandler

func NewArticleHandler(e *echo.Group, articleSvc article.Article)

Types

type ArticleHandler

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

func (*ArticleHandler) Create

func (ah *ArticleHandler) Create(c echo.Context) error

func (*ArticleHandler) FindAll

func (ah *ArticleHandler) FindAll(c echo.Context) error

func (*ArticleHandler) FindById

func (ah *ArticleHandler) FindById(c echo.Context) error

func (*ArticleHandler) Update

func (ah *ArticleHandler) Update(c echo.Context) error

type WebServer

type WebServer struct{}

func (*WebServer) Run

func (web *WebServer) Run(articleSvc article.Article)

Jump to

Keyboard shortcuts

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