common

package
v0.4.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MessageBusVersion     = "0.4.4"
	MessageBusServiceName = "message-bus"

	MessageBusSourceID      = "message-bus"
	MessageBusHeartbeatName = "message-bus:heartbeat"
)
View Source
const (
	SERVICENAME = "ysk"
)

Variables

View Source
var (
	PropertyTypeCardID = codegen.PropertyType{
		Name:        "card:id",
		Description: lo.ToPtr("card id"),
		Example:     lo.ToPtr("task:application:install"),
	}

	PropertyTypeCardBody = codegen.PropertyType{
		Name:        "card:body",
		Description: lo.ToPtr("card body"),
		Example:     lo.ToPtr("{xxxxxx}"),
	}
)

app properties

View Source
var (
	EventTypeYSKCardUpsert = codegen.EventType{
		SourceID: SERVICENAME,
		Name:     "ysk:card:upsert",
		PropertyTypeList: []codegen.PropertyType{
			PropertyTypeCardBody,
		},
	}

	EventTypeYSKCardDelete = codegen.EventType{
		SourceID: SERVICENAME,
		Name:     "ysk:card:delete",
		PropertyTypeList: []codegen.PropertyType{
			PropertyTypeCardID,
		},
	}
)
View Source
var (
	PropertyTypeMessage = codegen.PropertyType{
		Name:        "message",
		Description: lo.ToPtr("message at different levels, typically for error"),
	}
)

common properties

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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