server

package
v0.0.0-...-3e81ccd Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHealth

func GetHealth(c echo.Context) error

GetHealth

func RegisterHandlers

func RegisterHandlers(e *echo.Echo, h Handler)

func Serve

func Serve()

Serve

Types

type Handler

type Handler struct {
	api.SimpleHandler
	mapi.MastodonHandler
}

type HealthResponse

type HealthResponse struct {
	Status string `json:"status"`
}

HealthResponse

Directories

Path Synopsis
mastodon
api
openapi
Package mopenapi provides primitives to interact with the openapi HTTP API.
Package mopenapi provides primitives to interact with the openapi HTTP API.
Package openapi provides primitives to interact with the openapi HTTP API.
Package openapi provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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