routes

package
v0.0.0-...-a289cf3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleLogs

func ExampleLogs(w http.ResponseWriter, r *http.Request)

func ExampleRun

func ExampleRun(w http.ResponseWriter, r *http.Request)

func Home

func Home(w http.ResponseWriter, r *http.Request)

func Routes

func Routes()

func WriteJson

func WriteJson(data interface{}, filename string)

Types

type Broker

type Broker struct {
	Notifier chan []byte
	// contains filtered or unexported fields
}

func NewBroker

func NewBroker() (broker *Broker)

func (*Broker) BroadcastMessage

func (broker *Broker) BroadcastMessage(w http.ResponseWriter, r *http.Request)

func (*Broker) ExecuteScript

func (broker *Broker) ExecuteScript(command string, args ...string) bool

func (*Broker) Stream

func (broker *Broker) Stream(w http.ResponseWriter, r *http.Request)

type MainPageData

type MainPageData struct {
	Progress        int
	Step            string
	StepDescription string
}

type Message

type Message struct {
	Name    string `json:"name"`
	Message string `json:"msg"`
}

type OpenstackConfig

type OpenstackConfig struct {
	Username  string
	Password  string
	ProjectId string
	AuthUrl   string
}

type YandexCloudConfig

type YandexCloudConfig struct {
	Token  string
	Cloud  string
	Folder string
}

Jump to

Keyboard shortcuts

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