Movatterモバイル変換


[0]ホーム

URL:


types

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:1Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeMessagePayload

type MessagePayload struct {Versionstring `json:"_version"`NotificationNamestring `json:"notification_name"`NotificationTemplateIDstring `json:"notification_template_id"`UserIDstring `json:"user_id"`UserEmailstring `json:"user_email"`UserNamestring `json:"user_name"`UserUsernamestring `json:"user_username"`Actions []TemplateAction  `json:"actions"`Labels  map[string]string `json:"labels"`Data    map[string]any    `json:"data"`Targets []uuid.UUID       `json:"targets"`}

MessagePayload describes the JSON payload to be stored alongside the notification message, which specifies all of itsmetadata, labels, and routing information.

Any BC-incompatible changes must bump the version, and special handling must be put in place to unmarshal multiple versions.

typeTemplateAction

type TemplateAction struct {Labelstring `json:"label"`URLstring `json:"url"`}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp