notifications

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2019 Cohesity Inc.

Copyright 2019 Cohesity Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NOTIFICATIONS

type NOTIFICATIONS interface {
	GetNotifications() (*models.Notifications, error)

	UpdateNotifications() error
}

* Interface for the NOTIFICATIONS_IMPL

type NOTIFICATIONS_IMPL

type NOTIFICATIONS_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewNOTIFICATIONS

func NewNOTIFICATIONS(config configuration.CONFIGURATION) *NOTIFICATIONS_IMPL

* Factory for the NOTIFICATIONS interaface returning NOTIFICATIONS_IMPL

func (*NOTIFICATIONS_IMPL) GetNotifications

func (me *NOTIFICATIONS_IMPL) GetNotifications() (*models.Notifications, error)

*

  • List the notification of the session user.
  • @return Returns the *models.Notifications response from the API call

func (*NOTIFICATIONS_IMPL) UpdateNotifications

func (me *NOTIFICATIONS_IMPL) UpdateNotifications() error

*

  • Returns success or failure.
  • @return Returns the response from the API call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL