api

package
v0.0.0-...-d5dcd45 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package api provides a application interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App is a application interface.

func New

func New(ctx context.Context, logger *zap.Logger) (App, error)

New creates a new App.

func (App) Run

func (a App) Run(ctx context.Context) error

Run runs the application.

Jump to

Keyboard shortcuts

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