data

package
v0.0.0-...-7171415 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataManager

type DataManager struct {
	CurrentFeed *feeds.Feed
	Lock        *sync.Mutex
	Error       *Error
}

func GetManager

func GetManager() *DataManager

func (*DataManager) ClearError

func (dm *DataManager) ClearError()

func (*DataManager) GetError

func (dm *DataManager) GetError() *Error

func (*DataManager) SetError

func (dm *DataManager) SetError(err error)

type Error

type Error struct {
	Message string    `json:"error_message"`
	Time    time.Time `json:"error_time"`
}

Jump to

Keyboard shortcuts

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