Documentation ¶
Overview ¶
Package glkit enables integration with gokit.io from the glick library. It can do so in two ways, either within the server, or as a client.
Within a go-kit server, the glick package can provide gokit endpoints created using glick (and therefore the glick 3-level configuration) by using the MakeEndpoint() function.
When writing a client to a go-kit server, the PluginKitJSONoverHTTP() function allows the creation of simple plugins for JSON over HTTP (the most basic form of microservice available within go-kit); while ConfigKit() allows those simple plugins to be configured via the library JSON configuration process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEndpoint ¶
MakeEndpoint returns a gokit.io endpoint from a glick library, it is intended for use inside servers constructed using gokit.
func PluginKitJSONoverHTTP ¶
func PluginKitJSONoverHTTP(cmdPath string, ppo glick.ProtoPlugOut) glick.Plugin
PluginKitJSONoverHTTP enables calls to plugin commands implemented as microservices using "gokit.io".
Types ¶
This section is empty.