-
Notifications
You must be signed in to change notification settings - Fork 4
Client setup and use
To talk to Charm in its role as a server, I have supplied a little desktop client called HubTalk. Buils it using go build in the root folder, like you built Charm, and then run the executable with ./hubtalk.
╔═══════════♥═══════════╗
║ HubTalk version 0.1 ║
╚═══════════♥═══════════╝
ht →
At this point until you connect to a hub there are only two available commands, ht quit, which does exactly what you think it does, and ht config which sets up the connection to the hub:
ht → ht config
Host: http://localhost:3333/foo
Username: tihardc
Password: ▪▪▪▪▪▪▪▪▪
ok
ht →
The end-users of an administered hub have only a few ways to interact with it. Obviously they aren't allowed to start and stop services, which is reserved for the admins. But they can register and log in and out of the hub. Here are the extra hub commands they have access to.
This will make the hub ask them for their details (name, username, email etc) to set up an account. They are then put in the Guest group.
These are used by registered users to log on and off.
Lists the groups of which the user is a member.
Lists the services to which the user has access.
Deletes the user's account.
🧿 Pipefish is distributed under the MIT license. Please steal my code and ideas.
- Getting started
- Language basics
- The type system and built-in functions
- Functional Pipefish
- Encapsulation
- Imperative Pipefish
-
Imports and libraries
- The crypto/aes library
- The crypto/bcrypt library
- The crypto/rand library
- The crypto/rsa library
- The crypto/sha_256 library
- The crypto/sha_512 library
- The database/sql library
- The encoding/base_32 library
- The encoding/base_64 library
- The encoding/csv library
- The encoding/json library
- The files library
- The fmt library
- The html library
- The image library
- The image/bmp library
- The image/color library
- The image/jpeg library
- The image/png library
- The lists library
- The markdown library
- The math library
- The math/big library
- The math/cmplx library
- The math/rand library
- The net/http library
- The net/mail library
- The net/smtp library
- The net/url library
- The os/exec library
- The path library
- The path/filepath library
- The reflect library
- The regexp library
- The strconv library
- The strings library
- The terminal library
- The time library
- The unicode library
- Advanced Pipefish
- Developing in Pipefish
- Deployment
- Appendices