Documentation
¶
Index ¶
Constants ¶
View Source
const AuthKeyEnvVar = "TSGROK_AUTHKEY" // env var for auth key
View Source
const DefaultPort = 4141
View Source
const ProgramName = "tsgrok"
View Source
const ProxyHttpPortEnvVar = "TSGROK_PROXY_HTTP_PORT" // env var for proxy http port, defaults to DefaultPort
Variables ¶
View Source
var Commit = "none" // Will be overwritten by goreleaser
View Source
var Date = "unknown" // Will be overwritten by goreleaser
View Source
var ProgramVersion = "dev" // Will be overwritten by goreleaser
Functions ¶
func GetAuthKey ¶
func GetAuthKey() string
func GetProxyHttpPort ¶
func GetProxyHttpPort() int
func NewServerErrorLog ¶
Types ¶
type MessageBus ¶
func NewMessageBus ¶
func NewMessageBus(program *tea.Program) MessageBus
type MessageBusImpl ¶
type MessageBusImpl struct {
// contains filtered or unexported fields
}
func (MessageBusImpl) Send ¶
func (m MessageBusImpl) Send(msg tea.Msg)
func (*MessageBusImpl) SetProgram ¶
func (m *MessageBusImpl) SetProgram(program *tea.Program)
Click to show internal directories.
Click to hide internal directories.