diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-06-12 20:35:48 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-06-12 20:35:48 +0200 |
commit | 4faad2cda4938806126c482c7f93b640d68b9fe8 (patch) | |
tree | e475b65a59ecdfac09bedc7b2ae380736de09c16 /pkg/vpn/bonafide/bonafide_api_test.go | |
parent | 0ac0afaaf312a02af01d1c307ecf9b5915f40b0d (diff) |
[refactor] rename standalone to just vpn
Diffstat (limited to 'pkg/vpn/bonafide/bonafide_api_test.go')
-rw-r--r-- | pkg/vpn/bonafide/bonafide_api_test.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/vpn/bonafide/bonafide_api_test.go b/pkg/vpn/bonafide/bonafide_api_test.go new file mode 100644 index 0000000..7b48d8f --- /dev/null +++ b/pkg/vpn/bonafide/bonafide_api_test.go @@ -0,0 +1,15 @@ +package bonafide + +import ( + "log" + "testing" +) + +func TestBonafideAPI(t *testing.T) { + b := New() + cert, err := b.GetCertPem() + if err != nil { + log.Fatal(err) + } + log.Println(string(cert)) +} |