api

package
v0.15.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const HEALTH_CHECK_ROUTE = "/health"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

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

func NewApiServer

func NewApiServer(config ApiServerConfig) *ApiServer

func (*ApiServer) HealthCheck

func (a *ApiServer) HealthCheck() error

func (*ApiServer) Start

func (a *ApiServer) Start() error

func (*ApiServer) Stop

func (a *ApiServer) Stop()

type ApiServerConfig

type ApiServerConfig struct {
	ApiPort int
}

Directories

Path Synopsis
controllers
log
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

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