Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TradeController ¶ added in v0.6.0
type TradeController struct {
// contains filtered or unexported fields
}
TradeController implements controller operations
func (*TradeController) Subscribe ¶ added in v0.6.0
func (tc *TradeController) Subscribe()
Subscribe subscribe to trading subject
type TradeControllerI ¶ added in v0.6.0
type TradeControllerI interface {
Subscribe()
}
TradeControllerI defines controller operations
func NewTradeController ¶ added in v0.6.0
func NewTradeController(natsConn *nats.Conn, db *sql.DB, r model.TradeRepositoryI) TradeControllerI
NewTradeController creates a new controller instance
Click to show internal directories.
Click to hide internal directories.