bapi

package
v0.1.1-0...-99c9eb7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: BSD-3-Clause Imports: 13 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 service for cpserver

func New

func New(log *logrus.Entry, db *sqlx.DB) *API

New creates a new instance of the API service

func (*API) AttachChiRouter

func (a *API) AttachChiRouter(r chi.Router)

AttachChiRouter attaches API routes to the provided chi router.

Jump to

Keyboard shortcuts

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