Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StockClient ¶
type StockClient struct {
// contains filtered or unexported fields
}
func NewStockClient ¶
func NewStockClient(h string) *StockClient
func (*StockClient) GetAll ¶ added in v1.1.0
func (sc *StockClient) GetAll() ([]model.StockData, error)
func (*StockClient) GetSP500DivYield ¶
func (sc *StockClient) GetSP500DivYield() float64
TODO move this logic to stock-screener service
func (*StockClient) RegisterStock ¶
func (sc *StockClient) RegisterStock(symbol string) error
type UserprofileClient ¶
type UserprofileClient struct {
// contains filtered or unexported fields
}
func NewUserprofileClient ¶
func NewUserprofileClient(h string) *UserprofileClient
func (*UserprofileClient) GetUserprofile ¶
func (uc *UserprofileClient) GetUserprofile(userId string) (userprofileModel.Userprofile, error)
Click to show internal directories.
Click to hide internal directories.