flare

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = ""
	BuildTime = ""
	Commit    = ""
	GoVersion = runtime.Version()
)

Variables set with ldflags during compilation.

Functions

func ClientConfig

func ClientConfig(config string) func(*Client)

ClientConfig set the config on client.

Types

type Client

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

Client is responsible to init Flare.

func NewClient

func NewClient(options ...func(*Client)) (*Client, error)

NewClient return a initialized client.

func (*Client) Setup

func (c *Client) Setup(ctx context.Context) error

Setup is used to bootstrap the providers.

func (*Client) Start

func (c *Client) Start() error

Start the service.

func (*Client) Stop

func (c *Client) Stop() error

Stop the service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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