httpopera

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

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

Go to latest
Published: Sep 27, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	// contains filtered or unexported fields
}

type Operation

type Operation struct {
	Method string `json:"method"`
	URL    string `json:"url"`
	Stop   bool   `json:"stop"`
}

type OperationChange

type OperationChange struct {
	Method    string `json:"method"`
	SourceURL string `json:"source_url"`
	TargetURL string `json:"target_url"`
	Stop      bool   `json:"stop"`
}

type Response

type Response struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
	// contains filtered or unexported fields
}

func (*Response) SendJson

func (r *Response) SendJson() (int, error)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(h av.Handler, rtmpAddr string) *Server

func (*Server) GetLiveStatics

func (server *Server) GetLiveStatics(w http.ResponseWriter, req *http.Request)

http://127.0.0.1:8090/stat/livestat

func (*Server) Serve

func (s *Server) Serve(l net.Listener) error

Jump to

Keyboard shortcuts

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