Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Home = sync.OnceValue(func() (home string) { if home, _ = os.LookupEnv("GOSUHOME"); home == "" { userDir, _ := os.UserHomeDir() home = filepath.Join(userDir, ".gosu") os.MkdirAll(home, 0755) } return })
Home directory.
View Source
var Javascript = Settings(js{
Engine: "node",
Transpiler: "tsx",
})
View Source
var Rpc = Settings(rpc{ LocalAddress: "http://localhost:24511", RemoteAddresses: []string{}, Secret: fastRandom(), Seed: fastRandom(), })
View Source
var Service = Settings(service{ Ephemeral: false, })
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.