client

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationClient

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

func NewNotificationClient

func NewNotificationClient(url string) *NotificationClient

func (*NotificationClient) SendMeetingBroadcastNotification

func (c *NotificationClient) SendMeetingBroadcastNotification(key string, meeting string, body interface{}) (*dto.BroadcastResponseDto, error)

func (*NotificationClient) SendNotification

func (c *NotificationClient) SendNotification(key string, meeting string, title string, subtitle string, message string) (*dto.NotificationResponseDto, error)

func (*NotificationClient) SendNotificationForMeetingAndAthlete added in v0.1.4

func (c *NotificationClient) SendNotificationForMeetingAndAthlete(key string, meeting string, athleteId primitive.ObjectID, subtitle string, message string, messageType string, interruptionLevel string) (*dto.NotificationResponseDto, error)

Jump to

Keyboard shortcuts

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