Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer struct {
Text, Folder string
}
What words of /projects answered: the text a person reads, and the folder the session moved to, empty when it stayed
type From ¶
type From struct {
Profile, Session string
// Folder relative folders of the words are read from, the session's own when empty
Cwd string
// A person a chat app limits to some of its commands, who runs only the verbs that read
Limited bool
// Typed in a chat through /projects rather than on the Projects screen: they bring into a project only folders inside the folder the
// chat's session works in
Chat bool
}
Who runs words of /projects: the profile they act as and the session they were typed in, empty for none
type Verbs ¶
type Verbs struct {
// contains filtered or unexported fields
}
The words of /projects as chats and the screen run them: each verb on the projects of this computer, as the profile and the session they come from
func Register ¶
func Register(registry *server.Registry, cfg *config.Config, host *projects.Projects, stores *sessions.Registry) *Verbs
Serves the projects to the screen and gives back the words of /projects for chats