Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Storage []*StorageConfig `json:"storage"` Address string `json:"address"` Hosts []string `json:"hosts"` CAConfig CAConfig `json:"ca_keypair"` }
Config is the configuration for the proxy.
func LoadConfig ¶
LoadConfig loads the configuration from a JSON file path.
type StorageConfig ¶
type StorageConfig struct { Type StorageType `json:"type"` Path string `json:"path"` }
StorageConfig defines the storage configuration for the proxy.
type StorageType ¶
type StorageType string
StorageType defines the type of storage used by the proxy.
const ( // StorageTypeHAR is the HAR file storage type. StorageTypeHAR StorageType = "har" )
Click to show internal directories.
Click to hide internal directories.