notifications

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client ...

func NewClient

func NewClient(URL string) *Client

NewClient ...

func (*Client) CreateNotification

func (c *Client) CreateNotification(ctx context.Context, input CreateNotificationInput) (result graphqlorm.MutationResult, err error)

InviteUser invite user with given Email. If user with given email exists, it just return without any invitation.

type CreateNotificationInput

type CreateNotificationInput struct {
	Subject     string    `json:"subject"`
	Message     string    `json:"message"`
	URL         string    `json:"url"`
	Seen        bool      `json:"seen"`
	Principal   *string   `json:"principal"`
	Channel     *string   `json:"channel"`
	Reference   *string   `json:"reference"`
	ReferenceID *string   `json:"referenceID"`
	Date        time.Time `json:"date"`
}

type Notification

type Notification gen.Notification

Jump to

Keyboard shortcuts

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