types

package
v0.0.0-...-308190b Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Redis *redis.Client
}

type Chain

type Chain []struct {
	ChainId string `toml:"chain_id"`
	API     string `toml:"api"`
}

type Config

type Config struct {
	Chain Chain
}

type Guvnor

type Guvnor struct {
	Secure     bool
	HTTP       HTTP
	Cache      Cache
	Monitoring Monitoring
}

type HTTP

type HTTP struct {
	Router *mux.Router
	Server *http.Server
	Client *http.Client
}

type Health

type Health struct {
	Status string `json:"status"`
}

type Monitoring

type Monitoring struct {
	Logger zerolog.Logger
}

Jump to

Keyboard shortcuts

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