web

package
v0.0.0-...-b88123c Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(steadyServer http.Handler) (*Server, error)

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) Handler

func (s *Server) Handler() http.Handler

func (*Server) Start

func (s *Server) Start(ctx context.Context, addr string) error

func (*Server) Wait

func (s *Server) Wait() error

type TemplateError

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

func NewTemplateError

func NewTemplateError(err error, template string, name string, code twirp.ErrorCode) TemplateError

func (TemplateError) Error

func (t TemplateError) Error() string

type V

type V map[string]interface{}

Jump to

Keyboard shortcuts

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