go_concurrency

package module
v0.0.0-...-00daf3e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 8 Imported by: 0

README

go-concurrency

A small demo of "doing concurreny wrong" in a simple HTTP server, and how we might go about fixing the problem (look at the commit history).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyServer

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

func NewMyServer

func NewMyServer(ctx context.Context) *MyServer

func (*MyServer) Counter

func (s *MyServer) Counter() int

func (*MyServer) Handler

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

Jump to

Keyboard shortcuts

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