choria-legacy / go-client Goto Github PK
View Code? Open in Web Editor NEWGo client libraries for the Choria Orchestrator
License: Apache License 2.0
Go client libraries for the Choria Orchestrator
License: Apache License 2.0
without this long running programs that make many clients will produce huge amounts of prometheus metrics - 2 or 3 per client invocation
At the moment when receivers are given it's only the user supplied handler that is run concurrently - multiple network connections are not used.
Instead make multiple network connections and multiplex across them
We use github.com/apex/log by accident
At present a handler has to be passed, it should support a nil handler that would not do any subscribes or process any returns
Something like:
pf, err := NewFilter(ClassFilter("klass"), AgentFilter("agent"), IdentityFilter("ident"), FactFilter("country=mt"))
AgentFilter
, ClassFilter
, IdentityFilter
, CompoundFilter
, CombinedFilter
and FactFilter
should all gracefully handle empty strings as noop
When doing discovery the supplied context is used verbatim:
This means that if the initial connection fails or whatever - it's going to be stuck here forever rather than discovery timeout period. Probably we need a initial connect timeout rather than a whole timeout over the entire discovery but for now lets just wrap the whole client request in a context and give it timeout+2
Error from publish is squashed here meaning it waits for timeout while doing nothing
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.