web

package
v0.0.0-...-64cc20e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Observe

func Observe(ctx context.Context, url string, bl *chainy.Blocks) error

Observe monitors a url and updates the blockchain.

Types

type Server

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

func New

func New(b *chainy.Blocks) *Server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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