notification

package
v0.0.0-...-f2bd957 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIURL             = "https://exp.host/--/api/v2/push/send"
	NOTIFICATION_LIMIT = 100
)
View Source
const (
	GRPC_PORT = ":1972"
)

Variables

This section is empty.

Functions

func SendNotification

func SendNotification(info *pb_push.Info) (statusCode *int, err error)

func StartPushService

func StartPushService()

Types

type PushServiceServer

type PushServiceServer struct {
}

func (*PushServiceServer) SendNotifications

func (s *PushServiceServer) SendNotifications(ctx context.Context, info *pb_push.Info) (*pb_push.PushResponse, error)

Jump to

Keyboard shortcuts

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