|
Hello! There are two golang clients in the repository:
What is recommended way to communicate with ClairV4 API from third-party golang applications? Should I redevelop client by myself or maybe things described above is a bug and can be fixed? |
Answered by
hdonnay
Dec 8, 2021
Replies: 1 comment 2 replies
|
The The client in What sorts of things do you want to do with a clair client? Starting from there, we can probably sketch out an API for a go client package. |
2 replies
Answer selected by
seleznev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
httptransport/clientis meant for intraservice use -- it implements interfaces so that the microservices can be swapped between local and remote implementations.The client in
clairctlis much closer to what an external client may want, but I haven't exported it out of an abundance of caution.What sorts of things do you want to do with a clair client? Starting from there, we can probably sketch out an API for a go client package.