services

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidHttpStatusCodes

func GetValidHttpStatusCodes() []int

Types

type CatService

type CatService struct {
	Logger *logger.Logger
}

func NewCatService

func NewCatService(logger *logger.Logger) *CatService

func (*CatService) ServeRandomCat

func (cs *CatService) ServeRandomCat(c *gin.Context)

func (*CatService) ServeSpecificCat

func (cs *CatService) ServeSpecificCat(c *gin.Context, statusCode string)

Jump to

Keyboard shortcuts

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