dts

package
v0.0.0-...-80338ce Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityService

type ActivityService struct {
	DB *mongo.Database
}

func (*ActivityService) LoadUser

func (t *ActivityService) LoadUser(email string) []TrackerAction

type TrackerAction

type TrackerAction struct {
	ID        string      `json:"_id"`
	Action    string      `json:"action"`
	CreatedAt time.Time   `json:"created_at"`
	Props     TrackerProp `json:"props"`
}

type TrackerProp

type TrackerProp struct {
	User  string `json:"user"`
	Issue string `json:"issue"`
}

type TrackerService

type TrackerService struct {
	DB *mongo.Database
}

func (*TrackerService) AlreadySent

func (t *TrackerService) AlreadySent(issue, email string) bool

func (*TrackerService) LoadIssue

func (t *TrackerService) LoadIssue(issue, email, ip string) error

func (*TrackerService) LogSent

func (t *TrackerService) LogSent(issue, email string) error

func (*TrackerService) OpenURL

func (t *TrackerService) OpenURL(link, issue, email, ip string) error

Jump to

Keyboard shortcuts

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