api

package
v0.0.0-...-6dd2e59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package api Directory API. Version: 0.0.1

swagger:meta

Index

Constants

View Source
const DefaultListenAddress = "localhost:7777"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiService

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

func NewApiService

func NewApiService(params ApiServiceParams) *ApiService

func (*ApiService) Start

func (a *ApiService) Start() (chan struct{}, error)

type ApiServiceParams

type ApiServiceParams struct {
	ListenAddr string
	StaticDir  string
	DBConfig   db.DBConfig
}

type ArkeoProviders

type ArkeoProviders []*db.ArkeoProvider

swagger:model ArkeoProviders

type Health

type Health struct {
	Overall string
}

type InternalServerError

type InternalServerError struct {
	Message string `json:"message"`
}

Contains info about a 500 Internal Server Error response swagger:model InternalServerError

Jump to

Keyboard shortcuts

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