fundapi

package
v0.0.0-...-660482d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	api.BaseController
	Repo *FundsService
}

Controller handles user API endpoints

func (*Controller) AddRoutes

func (c *Controller) AddRoutes(router *mux.Router) *mux.Router

AddRoutes registers user endpoints and handlers

type FundsService

type FundsService struct {
	DAL *service.DAL
	// contains filtered or unexported fields
}

FundsService is the repositorty for API access to DB funds

func (*FundsService) Load

func (u *FundsService) Load()

Load retrieves all documents from the funds collection

Jump to

Keyboard shortcuts

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