alerts

package
v0.0.0-...-4e89ec9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Id         primitive.ObjectID `bson:"_id"`
	Symbol     string             `bson:"symbol"`
	Price      float64            `bson:"price"`
	Type       string             `bson:"type"`
	Trigger    string             `bson:"trigger"`
	Name       string             `bson:"name"`
	Message    string             `bson:"message"`
	Expiration string             `bson:"expiration"`
	Active     bool               `bson:"active"`
}

func (*Alert) AlertMessageFull

func (a *Alert) AlertMessageFull() string

func (*Alert) ToString

func (a *Alert) ToString() string

Jump to

Keyboard shortcuts

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