domain

package
v0.0.0-...-b891ec6 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PlatformGitee = "gitee"

Variables

This section is empty.

Functions

This section is empty.

Types

type CodePushedEvent

type CodePushedEvent struct {
	PkgId        string `json:"pkg_id"`
	Platform     string `json:"platform"`
	RepoLink     string `json:"repo_link"`
	FailedReason string `json:"failed_reason"`
}

func NewCodePushedEvent

func NewCodePushedEvent(pkgId, link string) CodePushedEvent

func (*CodePushedEvent) Message

func (e *CodePushedEvent) Message() ([]byte, error)

type Importer

type Importer struct {
	Name  string
	Email string
}

type PushCode

type PushCode struct {
	PkgId    string `json:"pkg_id"`
	PkgName  string `json:"pkg_name"`
	Platform string `json:"platform"`
	Importer Importer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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