Documentation ¶
Index ¶
- Constants
- Variables
- func GetUrlFor(urlFor int, baseURL *url.URL) (outUrl *url.URL)
- func PlatformGray() string
- func PlatformYellow() string
- func Trace()
- func TtycAngryPrintf(format string, args ...interface{})
- func TtycErrFprintf(w io.Writer, format string, a ...interface{})
- func TtycErrPrintf(format string, args ...interface{})
- func TtycFprintf(w io.Writer, format string, a ...interface{})
- func TtycPrintf(format string, args ...interface{})
- type Implementation
- type SttyDTO
- type TokenDTO
Constants ¶
View Source
const ( ImplementationTtyd = iota ImplementationWiSe )
View Source
const ( UrlForToken = iota UrlForWebSocket UrlForStty UrlForStats UrlForWhoami )
View Source
const COPYRIGHT = "Copyright (c) 2022 Davide Depau\n\n" +
"License: GNU GPL version 3.0 or later <https://www.gnu.org/licenses/gpl-3.0.html>.\n" +
"This is free software; see the source for copying conditions. There is NO\n" +
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
View Source
const VERSION = "v0.4"
Variables ¶
View Source
var Strftime, _ = strftimeMod.New("%H:%M:%S")
Functions ¶
func PlatformGray ¶
func PlatformGray() string
func PlatformYellow ¶
func PlatformYellow() string
func TtycErrFprintf ¶
func TtycErrPrintf ¶
func TtycErrPrintf(format string, args ...interface{})
func TtycFprintf ¶
func TtycPrintf ¶
func TtycPrintf(format string, args ...interface{})
Types ¶
type Implementation ¶
type Implementation uint8
Click to show internal directories.
Click to hide internal directories.