Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VState ¶
type VState struct {
// contains filtered or unexported fields
}
VState contains settings and state. Some of its fields can be accessed through atomic read/writes, in other cases a mutex must be held.
func New ¶
func New() *VState
New returns a struct that implements -v and -vmodule support. Changing and checking these settings is thread-safe, with all concurrency issues handled internally.
Click to show internal directories.
Click to hide internal directories.