altid / client Goto Github PK
View Code? Open in Web Editor NEWgolang library and example client for Altid clients
License: MIT License
golang library and example client for Altid clients
License: MIT License
As things are currently, everything works alright, but there should be some place for discussion about where to put things as languages are added.
Leaving this open to facilitate.
Currently, altid-cli is designed to only attach to a single service at a time. In order to facilitate connecting to more during startup/runtime, a few options are available.
/scan
would look for mDNS entries for _altid.tcp. Adding a service would then be by name, such as /service add irc
, and that would use the mDNS data to get the ultimate ip:port tuple to use./service add irc 192.168.0.4:564
/service add irc
Of the three, each has its merits. There will be mDNS entries up and running for any given service, and it is the least overhead; but the other options offer the potential to dial remote services as well.
My initial taste is for both 1 and 2; if an IP is explicitly stated, use it; else use an mDNS entry lookup.
@altid/architecture
Currently, altid-cli is meant for single-service connections. Related to #1, we want to be able to cleanly connect and interact.
To achieve this, the first approach I have is to add a /service
command, as discussed in #1. /service add foo
/service rm bar
.
Additionally on startup, a list of requested local/remote services could be iterated, such as altid-cli irc discord sms
.
@altid/architecture
to make it simple to write clients, this allows you to do things like as follows:
cmds, _ := client.GetCommands()
mytype.cmdlist = cmds
for _, cmd := range cmds {
if cmd.Name == somecmd {
client.Send(cmd, somedata)
}
}
return errors.New("Command not supported")
@altid/devs
And that would comprise all command wrangling, aside from client-specific commands.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.