models

package
v1.4.4-beta.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dashboard

type Dashboard struct {
	ID  string `json:"id"`
	URL string `json:"url"`
}

Dashboard is a struct so the ensure it will be copied by value when outputting the session model's output model

func (Dashboard) ToOutput

func (d Dashboard) ToOutput() output_models.Dashboard

type Session

type Session struct {
	Dashboards []Dashboard `json:"dashboards"`
}

func NewSession

func NewSession(previousStoredModel *Session) *Session

func (*Session) AddDashboard

func (im *Session) AddDashboard(dashboardURL string)

func (*Session) ToOutput

func (im *Session) ToOutput() *output_models.Session

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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