rest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 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 API

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

func NewAPI

func NewAPI(s storage.Storage) *API

func (*API) CreateComment

func (s *API) CreateComment(ctx echo.Context) error

func (*API) DeleteComment

func (s *API) DeleteComment(ctx echo.Context) error

func (*API) GetComment

func (s *API) GetComment(ctx echo.Context) error

func (*API) GetComments

func (s *API) GetComments(ctx echo.Context) error

func (*API) UpdateComment

func (s *API) UpdateComment(ctx echo.Context) error

Jump to

Keyboard shortcuts

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