controller

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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