repository

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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