ui

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceKey = "ui"

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	NavButtons *types.Buttons
}

func GetService

func GetService(srv service.List) *Service

func NewService

func NewService(btns *types.Buttons) *Service

func (*Service) Name

func (s *Service) Name() string

func (*Service) RemoveOrShowInfoNavButton

func (s *Service) RemoveOrShowInfoNavButton(remove bool)

func (*Service) RemoveOrShowPlugNavButton

func (s *Service) RemoveOrShowPlugNavButton(remove bool)

func (*Service) RemoveOrShowSiteNavButton

func (s *Service) RemoveOrShowSiteNavButton(remove bool)

func (*Service) RemoveOrShowToolNavButton

func (s *Service) RemoveOrShowToolNavButton(remove bool)

func (*Service) UpdateButtons

func (s *Service) UpdateButtons()

Jump to

Keyboard shortcuts

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