api

package
v0.0.0-...-1724ae8 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorResponse

func ErrorResponse(message string) errorResponse

func SuccessResponse

func SuccessResponse(body interface{}) successResponse

Types

type HealthResponse

type HealthResponse struct {
	Success bool   `json:"success"`
	Message string `json:"message"`
}

type Service

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

func New

func New(config *config.Config, engine *echo.Echo, chef *chef.Service, logger *logging.Logger) *Service

func (*Service) RegisterRoutes

func (s *Service) RegisterRoutes()

Jump to

Keyboard shortcuts

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