Skip to content

Commit

Permalink
Update sdk docs
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Sep 27, 2024
1 parent a3a3a05 commit 1af3fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ type SDK interface {
// IssueCert issues a certificate for a thing required for mTLS.
//
// example:
// serial , _ := sdk.IssueCert("entityID", "10h", []string{"ipAddr1", "ipAddr2"}, sdk.Options{CommonName: "commonName"})
// fmt.Println(serial)
// cert , _ := sdk.IssueCert("entityID", "10h", []string{"ipAddr1", "ipAddr2"}, sdk.Options{CommonName: "commonName"})
// fmt.Println(cert)
IssueCert(entityID, ttl string, ipAddrs []string, opts Options) (Certificate, errors.SDKError)

// DownloadCert returns a certificate given certificate ID
Expand Down

0 comments on commit 1af3fca

Please sign in to comment.