Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchange ¶
type Exchange interface { // CreateTick write in storage ticker data CreateTick(ctx context.Context, message entity.Message) error // CreateOrder write in storage order data CreateOrder(ctx context.Context, message entity.Message) error }
Exchange methods implementation
type Repositories ¶
type Repositories struct {
Exchange
}
Repositories of based interface for repository layout
func NewRepositories ¶
func NewRepositories(db *sqlx.DB) *Repositories
NewRepositories init repository layout
Click to show internal directories.
Click to hide internal directories.