messenger

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSimulationRequest

func CreateSimulationRequest(userID string, portfolioID uuid.UUID) error

func GetSimulationRequest

func GetSimulationRequest() (*nats.Msg, error)

GetSimulationRequet returns a single simulation request message

func Initialize

func Initialize() error

Connect to the nats server

Types

type SimulationRequest

type SimulationRequest struct {
	UserID      string `json:"user_id"`
	PortfolioID string `json:"portfolio_id"`
	RequestTime string `json:"request_time"`
}

Jump to

Keyboard shortcuts

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