Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetApiAddress ¶
type LocalWebsiteService ¶
type LocalWebsiteService struct {
// contains filtered or unexported fields
}
func NewLocalWebsitesService ¶
func NewLocalWebsitesService(getApiAddress GetApiAddress, getWebsocketAddress GetApiAddress, isStartCmd bool) *LocalWebsiteService
func (*LocalWebsiteService) Start ¶
func (l *LocalWebsiteService) Start(websites []Website) error
Start - Start the local website service
func (*LocalWebsiteService) SubscribeToState ¶
func (l *LocalWebsiteService) SubscribeToState(fn func(State))
type State ¶
type State = map[WebsiteName]Website
type WebsiteName ¶
type WebsiteName = string
type WebsitePb ¶
type WebsitePb = deploymentspb.Website
Click to show internal directories.
Click to hide internal directories.