configs

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configs

type Configs struct {
}

Configs struct handles all dependencies required for handling configurations

func NewService

func NewService() (*Configs, error)

NewService returns an instance of Config with all the required dependencies initialized

func (*Configs) Cachestore

func (cfg *Configs) Cachestore() (*cachestore.Config, error)

Cachestore returns the configuration required for cache

func (*Configs) Datastore

func (cfg *Configs) Datastore() (*datastore.Config, error)

Datastore returns datastore configuration

func (*Configs) HTTP

func (cfg *Configs) HTTP() (*http.Config, error)

HTTP returns the configuration required for HTTP package

Jump to

Keyboard shortcuts

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