service

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmcSvc

type CmcSvc interface {
	GetCmcList(ctx context.Context, trID string) ([]*model.Cmc, error)
	GetCmcListBySymbol(ctx context.Context, trID string, symbol *model.GetBySymbolHTTPRequest) ([]*model.Cmc, error)
	GetConversion(ctx context.Context, trID string, cmc *model.Conversion) (*model.Conversion, error)
	Register(ctx context.Context) error
}

func NewCmcSvc

func NewCmcSvc(cmcR repository.CmcRepo, timeout time.Duration) CmcSvc

NewCmcSvc ...

type TBackSvc

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

Jump to

Keyboard shortcuts

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