Categorygithub.com/PatrickDelancy/semp-client
repository
0.2.1
Repository: https://github.com/patrickdelancy/semp-client.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

semp-client

Go client for the Solace SEMPv2 API. Generated using go-swagger on the swagger definition:

go-swagger generate client -f specs/semp-v2_10-swagger-config-edited.yaml

The spec can be obtained from the Solace website with a command like

curl -L -v -o specs/semp-v2_12-swagger-config.yaml https://products.solace.com/download/PUBSUB_SEMPV2_SCHEMA_YAML

Testing

There's a basic executable semp-client-test to test that the SEMP client basically works. Use it as follows

go build ./cmd/semp-client-test
export SEMP_API_HOST=<solace host>
export SEMP_API_USER=<solace api username>
export SEMP_API_PASSWORD=<solace api password>