helpers

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnablePProfile

func EnablePProfile()

EnablePProfile enables the profiling endpoint

func MapsAreEqual

func MapsAreEqual(currentMap, newMap map[string]string) bool

func NewServerServiceClient

func NewServerServiceClient(ctx context.Context, cfg *model.Config, logger *logrus.Entry) (*serverservice.Client, error)

NewServerServiceClient instantiates and returns a serverService client

func WriteDebugFile

func WriteDebugFile(name, dump string)

Types

type Pauser

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

func NewPauser

func NewPauser() *Pauser

func (*Pauser) Pause

func (p *Pauser) Pause()

func (*Pauser) UnPause

func (p *Pauser) UnPause()

func (*Pauser) Value

func (p *Pauser) Value() bool

Jump to

Keyboard shortcuts

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