initialization

package
v0.0.0-...-2b8ccbc Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

package initialization wires databases, services, adn apis together. it uses "wire" for dependency injection. the extra and non-needed dependencies are for the sake of illustration for wire and nothing more

Index

Constants

This section is empty.

Variables

View Source
var InitialDummyFunc = func(a int) (string, error) {
	return "", errors.New("not implemented yet, wait and try again")
}

InitialDummyFunc is used to break the deliberated loop in calling the Fibonacci service and REST API service. Will be swapped out with a Fibonacci Client after both services are started and running

Functions

func InitializeServices

func InitializeServices(mWG *sync.WaitGroup)

func RouterREST

func RouterREST() *gin.Engine

RouterREST initialized the router, loads the HTML files, and registers the routes on the router

Types

This section is empty.

Jump to

Keyboard shortcuts

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