Skip to content

xgourmandin/slurp

Repository files navigation

slurp

Universal API data gathering to the storage solution of your choice (among those implementd :) )

Usage

As a module in another project

Download the module with:

go get github.com/xgourmandin/slurp

Then you must use it like this :

context, err := slurp.NewContextFactory().CreateContextFromConfig(&apiConfiguration)
if err != nil {
  return err
}
engine := slurp.NewSlurpEngine()
engine.SlurpAPI(*context)

Where apiConfiguration is a slurp.ApiConfiguration struct

About

Universal API dumping to GCP solutions

Resources

License

Stars

Watchers

Forks

Packages

No packages published