api

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDateTime

func FormatDateTime(ts time.Time) string

FormatDateTime generates an RFC3339 string of the given timestamp, or an empty string if the time is zero.

func FormatDateTimePointer

func FormatDateTimePointer(ts *time.Time) *string

FormatDateTimePointer generates an RFC3339 string of the given timestamp, or nil if it was empty/nil.

func NewHealth

func NewHealth() health.Service

func NewImports

func NewImports(db *sql.DB, pub *subscription.Publication) apiimports.Service

func NewSubscriptions

func NewSubscriptions(db *sql.DB, pub *subscription.Publication) apisubscriptions.Service

func NewTables

func NewTables(db *sql.DB, pub *subscription.Publication) tables.Service

Types

This section is empty.

Jump to

Keyboard shortcuts

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