config

package
v0.0.0-...-4d3bd5a Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: GPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(s string)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(fn *string) *Config

func (*Config) GetDefaultServer

func (c *Config) GetDefaultServer() *string

func (*Config) GetHotkeys

func (c *Config) GetHotkeys() *Hotkeys

func (*Config) GetInputDevice

func (c *Config) GetInputDevice() *string

func (*Config) GetNotifyCommand

func (c *Config) GetNotifyCommand() *string

func (*Config) GetOutputDevice

func (c *Config) GetOutputDevice() *string

func (*Config) GetUsername

func (c *Config) GetUsername() *string

func (*Config) LoadConfig

func (c *Config) LoadConfig()

func (*Config) SaveConfig

func (c *Config) SaveConfig()

func (*Config) SetMicVolume

func (c *Config) SetMicVolume(v float32)

func (*Config) UpdateConfig

func (c *Config) UpdateConfig(u *gumble.User)

func (*Config) UpdateUser

func (c *Config) UpdateUser(u *gumble.User)

type Hotkeys

type Hotkeys struct {
	Talk             *uiterm.Key
	VolumeDown       *uiterm.Key
	VolumeUp         *uiterm.Key
	Exit             *uiterm.Key
	ToggleTimestamps *uiterm.Key
	SwitchViews      *uiterm.Key
	ClearOutput      *uiterm.Key
	ScrollUp         *uiterm.Key
	ScrollDown       *uiterm.Key
	ScrollToTop      *uiterm.Key
	ScrollToBottom   *uiterm.Key
}

Jump to

Keyboard shortcuts

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