common

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentNameEventStatusInfo         = "eventStatusInfo"
	ComponentNameNotificationContentInfo = "notificationContentInfo"
)
View Source
const (
	AlertIndex        = "alertIndex"
	StateKeyPageTitle = "pageTitle"
)
View Source
const ScenarioKey = "msp-notify-detail"

Variables

This section is empty.

Functions

func GetCoreServiceUrlFromContext

func GetCoreServiceUrlFromContext(ctx context.Context) *bundle.Bundle

func GetMessengerServiceFromContext

func GetMessengerServiceFromContext(ctx context.Context) messenger.NotifyServiceServer

func GetNotifyIndexFromGlobalState

func GetNotifyIndexFromGlobalState(gs cptype.GlobalStateData) *messenger.AlertNotifyDetail

func SetNotifyIndexToGlobalState

func SetNotifyIndexToGlobalState(gs cptype.GlobalStateData, alertIndex *messenger.AlertNotifyDetail)

Types

type InParams

type InParams struct {
	Scope   string `json:"scope"`
	ScopeId string `json:"scopeId"`
	Id      int64  `json:"id"`
}

func ParseFromCpSdk

func ParseFromCpSdk(sdk *cptype.SDK) (*InParams, error)

Jump to

Keyboard shortcuts

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