portfolio

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

package portfolio contains the code for the PortfolioService implementation.

Index

Constants

View Source
const DefaultSecuritiesServiceURL = "http://localhost:8080"

Variables

View Source
var (
	ErrMissingSecurityName = errors.New("the specified transaction type requires a security name")
	ErrMissingPrice        = errors.New("a transaction requires a price")
	ErrMissingAmount       = errors.New("the specified transaction type requires an amount")
)

Functions

Types

type Options

type Options struct {
	SecuritiesClient portfoliov1connect.SecuritiesServiceClient
	DB               *persistence.DB
}

Jump to

Keyboard shortcuts

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