repository

package
v0.0.0-...-7c1f5ed Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB(tBack conf.ViperConfig) *gorm.DB

InitDB ...

Types

type CmcRepo

type CmcRepo interface {
	Register(ctx context.Context) error
	GetCmcListBySymbol(ctx context.Context, trID string, symbol *model.GetBySymbolHTTPRequest) ([]*model.Cmc, error)
	GetCmcList(ctx context.Context, trID string) ([]*model.Cmc, error)
	GetCmcByOrder(ctx context.Context) (uint, error)
}

CmcRepo ...

func NewGormCmcRepo

func NewGormCmcRepo(conn *gorm.DB, hAruLogGroup string) CmcRepo

type TBackRepo

type TBackRepo interface {
	GetLogEvents(ctx context.Context, trID string) ([]*cloudwatchlogs.OutputLogEvent, error)
}

TBackRepo ...

Jump to

Keyboard shortcuts

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