change to use registration as the entry point
This commit is contained in:
parent
fb7b35af74
commit
a096d3f5b5
@ -49,7 +49,7 @@ func main() {
|
|||||||
var sessionId string
|
var sessionId string
|
||||||
flag.StringVar(&dir, "d", ".", "resource dir to read from")
|
flag.StringVar(&dir, "d", ".", "resource dir to read from")
|
||||||
flag.UintVar(&size, "s", 0, "max size of output")
|
flag.UintVar(&size, "s", 0, "max size of output")
|
||||||
flag.StringVar(&root, "root", "root", "entry point symbol")
|
flag.StringVar(&root, "root", "registration", "entry point symbol")
|
||||||
flag.StringVar(&sessionId, "session-id", "default", "session id")
|
flag.StringVar(&sessionId, "session-id", "default", "session id")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir)
|
fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir)
|
||||||
@ -59,7 +59,7 @@ func main() {
|
|||||||
rfs := resource.NewFsResource(scriptDir)
|
rfs := resource.NewFsResource(scriptDir)
|
||||||
ca := cache.NewCache()
|
ca := cache.NewCache()
|
||||||
cfg := engine.Config{
|
cfg := engine.Config{
|
||||||
Root: "root",
|
Root: "registration",
|
||||||
SessionId: sessionId,
|
SessionId: sessionId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Welcome to Sarafu Network
|
Welcome to Sarafu Network registration
|
@ -1,7 +1,5 @@
|
|||||||
LOAD select_language 0
|
|
||||||
MOUT english 0
|
MOUT english 0
|
||||||
MOUT kiswahili 1
|
MOUT kiswahili 1
|
||||||
HALT
|
HALT
|
||||||
INCMP terms 0
|
INCMP terms 0
|
||||||
INCMP terms 1
|
INCMP terms 1
|
||||||
RELOAD select_language
|
|
||||||
|
Loading…
Reference in New Issue
Block a user