Documentation ¶
Index ¶
- type History
- type MongoAgent
- func (ma *MongoAgent) GetHistory(ctx context.Context, memo, start, end string) (records []History, err error)
- func (ma *MongoAgent) InsertTransferRecord(ctx context.Context, record interface{}) error
- func (ma *MongoAgent) NotNotified(ctx context.Context) (records []types.TransferRecord, err error)
- func (ma *MongoAgent) UpdateNotifyTime(ctx context.Context, record types.TransferRecord) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoAgent ¶
func (*MongoAgent) GetHistory ¶ added in v0.1.0
func (*MongoAgent) InsertTransferRecord ¶
func (ma *MongoAgent) InsertTransferRecord(ctx context.Context, record interface{}) error
func (*MongoAgent) NotNotified ¶ added in v0.1.0
func (ma *MongoAgent) NotNotified(ctx context.Context) (records []types.TransferRecord, err error)
func (*MongoAgent) UpdateNotifyTime ¶ added in v0.1.0
func (ma *MongoAgent) UpdateNotifyTime(ctx context.Context, record types.TransferRecord) error
Click to show internal directories.
Click to hide internal directories.