api

package
v0.0.0-...-41c8d9c Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *Config, store database.Datastore)

func RunHealth

func RunHealth(cfg *Config, store database.Datastore, st *stopper.Stopper)

Types

type Config

type Config struct {
	Addr                      string
	HealthAddr                string
	Timeout                   time.Duration
	CertFile, KeyFile, CAFile string
}

Config is the configuration for the API service.

Directories

Path Synopsis
v3
clairpb
Package clairpb is a generated protocol buffer package.
Package clairpb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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