pkg

package
v0.0.0-...-7ad437e Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingResponse

type PingResponse struct {
	Version       string      `json:"version"`
	ProxyConfig   ProxyConfig `json:"proxy"`
	KieSandboxUrl string      `json:"kieSandboxUrl"`
	Started       bool        `json:"started"`
}

func GetPingResponse

func GetPingResponse(started bool) PingResponse

type Proxy

type Proxy struct {
	View       *Systray
	Started    bool
	URL        string
	Port       string
	RunnerPort string
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(port string, jitexecutor []byte) *Proxy

func (*Proxy) GracefulShutdown

func (p *Proxy) GracefulShutdown()

func (*Proxy) Refresh

func (p *Proxy) Refresh()

func (*Proxy) Start

func (p *Proxy) Start()

func (*Proxy) Stop

func (p *Proxy) Stop()

type ProxyConfig

type ProxyConfig struct {
	Ip   string `json:"ip"`
	Port string `json:"port"`
}

type Systray

type Systray struct {
	Server        *Proxy
	StartStopItem *systray.MenuItem
	// contains filtered or unexported fields
}

func (*Systray) Refresh

func (s *Systray) Refresh()

func (*Systray) Run

func (s *Systray) Run()

func (*Systray) SetLoading

func (s *Systray) SetLoading()

func (*Systray) Start

func (s *Systray) Start()

func (*Systray) Stop

func (s *Systray) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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