model

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	MsgType  MessageType `json:"msgType"`
	ClientId string      `json:"clientId,omitempty"`
	Data     []byte      `json:"data,omitempty"`
}

type MessageType

type MessageType int32
const (
	StopMessage    MessageType = 0
	StatusMessage  MessageType = 1
	MockMessage    MessageType = 2
	UnmockMessage  MessageType = 3
	ClearMessage   MessageType = 4
	SuccessMessage MessageType = 5
	ErrorMessage   MessageType = 6
	TimeoutMessage MessageType = 7
)

type MockMessageData

type MockMessageData struct {
	Host      string `json:"host"`
	Directory string `json:"dir"`
}

type MockedHost

type MockedHost struct {
	Host      string
	Directory string
}

Jump to

Keyboard shortcuts

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