infrastructure

package
v0.0.0-...-90f9a36 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2016 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigFileRepository

func NewConfigFileRepository(path string) config.Repository

NewConfigFileRepository creates a new config.Repository instance

func NewHttpClientFetcher

func NewHttpClientFetcher() services.UrlFetcher

NewHttpClientFetcher creates a new HttpClientFetcher

Types

type ConfigFileRepository

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

ConfigFileRepository implements config.Repository interface

func (ConfigFileRepository) GetSystemConfiguration

func (cfr ConfigFileRepository) GetSystemConfiguration() (config.Configuration, error)

GetSystemConfiguration returns the system configurations

type HttpClientFetcher

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

HttpClientFetcher implements a services.UrlFetcher

func (*HttpClientFetcher) ParseUrl

func (hcf *HttpClientFetcher) ParseUrl(newUrl string) ([]string, []string, error)

ParseUrl parse an url in links and assets

Jump to

Keyboard shortcuts

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