delivery

package
v0.0.0-...-2fe0e47 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 11 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 GetApi

func GetApi(c *usecase.Core, l *slog.Logger, cfg *configs.CommentCfg) *API

func (*API) AddComment

func (a *API) AddComment(w http.ResponseWriter, r *http.Request)

func (*API) Comment

func (a *API) Comment(w http.ResponseWriter, r *http.Request)

func (*API) DeleteComment

func (a *API) DeleteComment(w http.ResponseWriter, r *http.Request)

func (*API) ListenAndServe

func (a *API) ListenAndServe()

Jump to

Keyboard shortcuts

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