Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module is a module for displaying the client's current public IP address in the bar.
func New ¶
New creates a new *Module with the given provider for looking up the ip address. By default, the module will refresh the IP address every 10 minutes. The refresh interval can be configured using `Every`. Clicking on the bar output will also update the module output if not overridden.
func (*Module) Every ¶
Every configures the refresh interval for the module. Passing a zero interval will disable refreshing.
Click to show internal directories.
Click to hide internal directories.