config

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomConfig

type CustomConfig struct {
	WebserverConf WebserverConfig `mapstructure:"webserver"`
	WebhookConf   WebhookConfig   `mapstructure:"webhook"`
}

func InitConfig

func InitConfig(configPath string) (*CustomConfig, error)

type WebhookConfig

type WebhookConfig struct {
	ValidationTimeoutSecond int `mapstructure:"validation_timeout_second"`
}

type WebserverConfig

type WebserverConfig struct {
	Image         string `mapstructure:"image"`
	ContainerName string `mapstructure:"container_name"`
}

Jump to

Keyboard shortcuts

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