web

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployAppParams

type DeployAppParams struct {
	App    string `param:"app" json:"app" form:"app" validate:"required"`
	GitUrl string `param:"gitUrl" json:"gitUrl" form:"gitUrl" validate:"required"`
}

type GoRunnerWebServer

type GoRunnerWebServer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewGoRunnerServer

func NewGoRunnerServer(wd string) *GoRunnerWebServer

func (*GoRunnerWebServer) Bootsrap

func (server *GoRunnerWebServer) Bootsrap(addr string) error

func (*GoRunnerWebServer) MarshalJSON

func (server *GoRunnerWebServer) MarshalJSON() ([]byte, error)

func (*GoRunnerWebServer) Serve

func (server *GoRunnerWebServer) Serve() error

func (*GoRunnerWebServer) Stop

func (server *GoRunnerWebServer) Stop(c context.Context) error

type UpdateAppParams

type UpdateAppParams struct {
	App    string `param:"app" json:"app" form:"app" validate:"required"`
	Action string `param:"action" json:"action" form:"action" validate:"required"`
}

Jump to

Keyboard shortcuts

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