presentation

package
v0.0.0-...-54072b4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(status int, format string, a ...interface{}) error

func GetCodeFromError

func GetCodeFromError(err error) (int, bool)

Types

type ApiController

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

func NewApiController

func NewApiController(s *domain.BadgeService) ApiController

func (*ApiController) Serve

func (c *ApiController) Serve()

type HttpStatusError

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

func (*HttpStatusError) Error

func (e *HttpStatusError) Error() string

func (*HttpStatusError) HTTPStatus

func (e *HttpStatusError) HTTPStatus() int

Jump to

Keyboard shortcuts

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