httpapi

package
v0.0.0-...-3773360 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API is type for api

func CreateAPI

func CreateAPI(
	lg interfaces.Logger,
	listen string,
	cr *core.St,
) *API

CreateAPI creates API instance

func (*API) Shutdown

func (a *API) Shutdown(ctx context.Context) error

Shutdown is for Shutdown

func (*API) Start

func (a *API) Start()

Start is for Start

func (*API) Wait

func (a *API) Wait() <-chan error

Wait is for Wait

Jump to

Keyboard shortcuts

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