api

package
v0.0.0-...-7f4bee4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidArgument = errors.New("invalid argument provided")
View Source
var ErrNotFound = sql.ErrNoRows
View Source
var (
	FDBRangeWantAll = fdb.RangeOptions{Mode: fdb.StreamingModeWantAll}
)

Functions

This section is empty.

Types

type EmptyObj

type EmptyObj struct {
	Id      string `json:"id"`
	IsEmpty bool   `json:"is_empty"`
}

type Server

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

func NewServer

func NewServer(
	logger slog.Logger,
	db state.DB,
	version string,
) (*Server, error)

func (*Server) Init

func (s *Server) Init()

func (*Server) Start

func (s *Server) Start(addr string) error

Jump to

Keyboard shortcuts

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