From 06ee1171dee17245e71bb0ddd742c7f95f9bd2cb Mon Sep 17 00:00:00 2001 From: Jeremy Clerc Date: Sat, 11 Feb 2017 00:13:54 +0100 Subject: Refactor the all API for cleanup and extensibility. API now has a store interface so one could choose to store the different files in a database for example. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4ee2fa6..bfd7f38 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,26 @@ For more info about available flags, checkout out the help `-h` You will find the generated cert in `issued` and private key in `private` +# API + +For the latest API: + +``` +import "gopkg.in/google/easypki.v1" +``` + +## Legacy API + +API below pkg/ has been rewritten to allow extensibility in terms of PKI +storage and better readability. + +If you used the legacy API that was only writing files to disk, a tag has been +applied so you can still import it: + +``` +import "gopkg.in/google/easypki.v0" +``` + # Disclaimer This is not an official Google product -- cgit v1.3