server

package
v0.0.0-...-c4f7e29 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*imagesconfig.EnvironmentConfig

	ObjectStore *imagesconfig.ObjectStoreConfig `envconfig:"IMAGES_OBJECT_STORE"`

	// ListenAddr sets the listen address of the images server.
	ListenAddr string `envconfig:"IMAGES_LISTEN_ADDR" default:"0.0.0.0:3004"`

	InternalListenAddr string `envconfig:"IMAGES_INTERNAL_LISTEN_ADDR" default:"0.0.0.0:13004"`
}

func LoadConfigFromEnv

func LoadConfigFromEnv() (*Config, error)

func (*Config) Initialize

func (c *Config) Initialize() error

func (*Config) Validate

func (c *Config) Validate() error

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) Start

func (c *Controller) Start()

Jump to

Keyboard shortcuts

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