consoles

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Console1 Console = "console1" // Externe VDR
	Console2 Console = "console2" // Internal
	Console4 Console = "console4" // Externe CHA

	LocationVDR LocationCode = "vdr"
	LocationCHR LocationCode = "chr"
)

Variables

View Source
var ErrOrganizationFormatIsInvalid = fmt.Errorf("organization format is invalid")

Functions

This section is empty.

Types

type Console

type Console string

func FindBySiteID

func FindBySiteID(siteID string) (Console, bool)

FindBySiteID - Returns the console by its siteID

func FindByURL

func FindByURL(url string) (Console, bool)

FindByURL - Returns the console by its URL

func FingByOrganizationName

func FingByOrganizationName(organizationName string) (Console, error)

FingByOrganizationName - Returns the console by its organization name

func (Console) GetLocationCode

func (c Console) GetLocationCode() LocationCode

GetLocationCode - Returns the location code

func (Console) GetS3Endpoint

func (c Console) GetS3Endpoint() string

S3GetEndpoint - Returns the S3 endpoint

func (Console) GetSiteID

func (c Console) GetSiteID() Console

GetSiteID - Returns the site ID

func (Console) GetSiteName

func (c Console) GetSiteName() string

GetSiteName - Returns the site name

func (Console) GetURL

func (c Console) GetURL() string

GetURL - Returns the URL

func (Console) GetVCDAEndpoint

func (c Console) GetVCDAEndpoint() string

VCDAGetEndpoint - Returns the VCDA endpoint

func (Console) IsVCDAEnabled

func (c Console) IsVCDAEnabled() bool

VCDAIsEnabled - Returns true if the VCDA service is enabled

func (Console) S3IsEnabled

func (c Console) S3IsEnabled() bool

S3IsEnabled - Returns true if the S3 service is enabled

type LocationCode

type LocationCode string

Jump to

Keyboard shortcuts

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