api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create200Response added in v0.0.2

func Create400Response added in v0.0.2

func Create400Response() *models.CreateResponse

func Create404Response added in v0.0.2

func Create404Response() *models.CreateResponse

Types

type CreateHandler added in v0.0.2

type CreateHandler interface {
	HandleCreate(ctx context.Context, r *models.CreateRequest) (*models.CreateResponse, error)
}

type Handler

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

func NewHandler

func NewHandler(create CreateHandler) *Handler

func (*Handler) AddRoutes

func (h *Handler) AddRoutes(router chi.Router)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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