util

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 7 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` : Internal rate limit

func ReadFile

func ReadFile(filename string, target any) error

Reads a json file and unmarshalls it into the target.

Types

This section is empty.

Jump to

Keyboard shortcuts

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