ordo

command module
v0.0.0-...-5a9142d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2016 License: GPL-3.0 Imports: 11 Imported by: 0

README

Ordo

You need an entity w/ permission to publish and subscribe on gabe.ns/chatrooms/room/+

# if you need an entity
bw2 mke -o chatroomentity.ent

# to grant access to a specific chatroom
bw2 mkdot --from <path to granting entity> --to chatroomentity.ent --uri "gabe.ns/chatrooms/room/roomname" --ttl 0 --permissions "PC*"

# to grant access to a *all* chatrooms
bw2 mkdot --from <path to granting entity> --to chatroomentity.ent --uri "gabe.ns/chatrooms/room/+" --ttl 0 --permissions "PC*"

# to grant access to a *all* chatrooms with ability to invite others
bw2 mkdot --from <path to granting entity> --to chatroomentity.ent --uri "gabe.ns/chatrooms/room/+" --ttl <number of invites> --permissions "PC*"

TODO: maybe wrap these up in a chatroom-specific tool to simplify?

Usage

bw2chat -e chatroomentity.ent client --alias mynamehere

Once you are logged in, you get some commands:

# join a chatroom
\join roomname 

And that's all I've implemented and tested. You can switch between rooms using \join and it will keep a log of messages in other rooms.


Novus Ordo Seclorum -- Randy Waterhouse

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL