http

package
v0.0.0-...-6d3abe3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServeDebug

func ListenAndServeDebug() error

Types

type ResponseError

type ResponseError struct {
	Code   int    `json:"-"`
	Reason string `json:"reason"`
}

func (ResponseError) Error

func (err ResponseError) Error() string

type Server

type Server struct {
	Addr           string
	TemporalClient client.Client
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Open

func (s *Server) Open() (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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