utils

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentHasChanged

func ContentHasChanged(groupName string, newChecksum Checksum, prevChecksums map[string]Checksum) bool

func NewLimitedBackOff

func NewLimitedBackOff(duration time.Duration, retryLimit int) *limitedBackOff

Types

type Checksum

type Checksum []byte

func FileChecksum

func FileChecksum(buf *bytes.Buffer) (Checksum, error)

Jump to

Keyboard shortcuts

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