Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-01-14 17:42:44 +00:00
parent 863b60c7db
commit ccc5de5cda
23 changed files with 1588 additions and 1530 deletions

15
examples/cache/listKeys/listTheKeys/main.go vendored Executable file
View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/cache"
)
// List all the available keys
func main() {
cacheService := cache.NewCacheService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cacheService.ListKeys(&cache.ListKeysRequest{})
fmt.Println(rsp, err)
}