Documentation
¶
Index ¶
- Constants
- Variables
- func GenerateAutoPlatformMethod(module string, method string) string
- func GenerateMethod(module string, method string) string
- func GeneratePlatformMethod(module string, platform PlatformKind, method string) string
- func LogFunc(modName string, fstr string, i ...interface{})
- func ValidateDecoder(decoder *msgpack.Decoder) error
- type PlatformKind
Constants ¶
View Source
const ( PlatformWindows = "windows" PlatformLinux = "linux" PlatformMacOS = "macos" PlatformOther = "other" )
Variables ¶
View Source
var Platforms = map[PlatformKind]bool{ PlatformLinux: false, PlatformMacOS: false, PlatformWindows: false, PlatformOther: false, }
Functions ¶
func GenerateMethod ¶
func GeneratePlatformMethod ¶
func GeneratePlatformMethod(module string, platform PlatformKind, method string) string
func ValidateDecoder ¶
func ValidateDecoder(decoder *msgpack.Decoder) error
Types ¶
type PlatformKind ¶
type PlatformKind string
Click to show internal directories.
Click to hide internal directories.