ddebarros opened a new pull request, #155:
URL: https://github.com/apache/openwhisk-client-go/pull/155

   This PR adds a new method for getting and filtering the total number of 
activations.
   
    Usage 
   
   ```go
   func main() {
        client, err := whisk.NewClient(http.DefaultClient, nil)
        if err != nil {
                fmt.Println(err)
                os.Exit(-1)
        }
   
        options := &whisk.ActivationCountOptions{
                Name:  "sample/hello",
                Since: 1665662104000,
        }
   
        actions, resp, err := client.Activations.Count(options)
        if err != nil {
                fmt.Println(err)
                os.Exit(-1)
        }
   
        fmt.Println("Returned with status: ", resp.Status)
        fmt.Printf("Returned actions: \n %+v", actions)
   
   }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to