util

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 6 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}

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