util

package
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestEquinoxConfig

func NewTestEquinoxConfig() api.EquinoxConfig

Creates an EquinoxConfig for tests.

  • `LogLevel` : zerolog.DebugLevel
  • `HTTPClient` : http.Client{}
  • `Retry` : 0
  • `Cache` : &cache.Cache{TTL: 0}
  • `RateLimit` : Disabled

func ReadFile

func ReadFile(b *testing.B, filename string) []byte

Reads a json file and returns its content as []byte.

Types

This section is empty.

Jump to

Keyboard shortcuts

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