package
3.0.0+incompatible
Repository: https://github.com/thecasualcoder/dobby.git
Documentation: pkg.go.dev
# Functions
Crash will make dobby to kill itself As dobby dies, the gin server also shuts down.
GoTurboCPU will make dobby go Turbo Watch the video `https://youtu.be/TNjAZZ3vQ8o?t=14` for more context on `Going Turbo` @Summary CPU Spike @Description Make Dobby create a CPU spike @Tags Control @Accept json @Produce json @Success 200 {object} model.ControlSuccess @Router /control/goturbo/cpu [put].
GoTurboMemory will make dobby go Turbo Watch the video `https://youtu.be/TNjAZZ3vQ8o?t=14` for more context on `Going Turbo` @Summary Memory Spike @Description Make Dobby create a memory spike @Tags Control @Accept json @Produce json @Success 200 {object} model.ControlSuccess @Router /control/goturbo/memory [put].
New creates a new Handler.
NewDefaultContext creates the wrapper Context with gin Context.
# Interfaces
Context is the interface represents the minimalistic gin.Context this is used to create mock struct while testing.