notification

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c helper.Context, id string) (res schema.Response)

Get notification detail

func GetNotificationListByAdmin

func GetNotificationListByAdmin(c helper.Context, input Query) (res schema.List)

GetList get notification list

func GetNotificationListByAdminRouter

func GetNotificationListByAdminRouter(c *gin.Context)

GetListRouter get list router

func GetNotificationListByUser

func GetNotificationListByUser(c helper.Context, input Query) (res schema.List)

GetList get notification list

func GetNotificationListByUserRouter

func GetNotificationListByUserRouter(c *gin.Context)

GetListRouter get list router

func GetRouter

func GetRouter(c *gin.Context)

GetRouter get notification detail router

func MarkRead

func MarkRead(c helper.Context, notificationID string) (res schema.Response)

MarkRead mark notification as read

func ReadRouter

func ReadRouter(c *gin.Context)

ReadRouter read this notification router

Types

type Query

type Query struct {
	schema.Query
}

Query params

Jump to

Keyboard shortcuts

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