service

package
v0.0.0-...-6110d0b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TextTemplate = `` /* 235-byte string literal not displayed */

Functions

func Deploy

func Deploy(c *gin.Context)

func HTTPDoGetWithCtx

func HTTPDoGetWithCtx(ctx context.Context, url string) ([]byte, error)

func Send

func Send(c *gin.Context)

Types

type ComposeService

type ComposeService struct {
	Name     string `json:"name"`
	Mapping  string `json:"mapping"`
	CheckUrl string `json:"checkUrl"`
	Web      string `json:"web"`
}

type Markdown

type Markdown struct {
	Title string `json:"title"`
	Text  string `json:"text"`
}

type Message

type Message struct {
	Msgtype  string   `json:"msgtype"`
	Text     Text     `json:"text"`
	Markdown Markdown `json:"markdown"`
}

type ResponseWriter

type ResponseWriter struct {
	// contains filtered or unexported fields
}

func (*ResponseWriter) Write

func (w *ResponseWriter) Write(p []byte) (n int, err error)

type Robot

type Robot struct {
	AccessToken string
}

type Text

type Text struct {
	Content string `json:"content"`
}

type TextTemplateData

type TextTemplateData struct {
	ProjectName string
	Web         string
	Status      string
	OperateUser string
	Branch      string
	Protocol    string
	Url         string
	Group       string
}

Jump to

Keyboard shortcuts

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