Documentation ¶
Index ¶
Constants ¶
View Source
const ( SockTypeTCP = iota SockTypeUNIX )
Variables ¶
View Source
var Settings struct { ListenPort string ListenSock string }
Functions ¶
Types ¶
type HTTPPreviewData ¶
type HTTPResponseFormat ¶
type HTTPResponseFormat struct {
Status string
}
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func NewRequestHandler ¶
func NewRequestHandler(addr string, sockType int) *RequestHandler
func (RequestHandler) ChromeOff ¶
func (r RequestHandler) ChromeOff() (err error)
func (RequestHandler) ChromeShow ¶
func (r RequestHandler) ChromeShow() (err error)
func (*RequestHandler) Ping ¶
func (r *RequestHandler) Ping() (err error)
func (*RequestHandler) Send ¶
func (r *RequestHandler) Send(data HTTPPreviewData) (err error)
func (*RequestHandler) Verify ¶
func (r *RequestHandler) Verify(fileName string) (err error)
Click to show internal directories.
Click to hide internal directories.