loader

package
v0.0.0-...-b40c5a5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APILoader

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

APILoader is responsible for loading all apis form a datastore and configure them in a register

func NewAPILoader

func NewAPILoader(register *proxy.Register) *APILoader

NewAPILoader creates a new instance of the api manager

func (*APILoader) RegisterAPI

func (m *APILoader) RegisterAPI(def *api.Definition)

RegisterAPI register an API Definition in the register

func (*APILoader) RegisterAPIs

func (m *APILoader) RegisterAPIs(cfgs []*api.Definition)

RegisterAPIs load application middleware

Jump to

Keyboard shortcuts

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