Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRequest = errors.New("request") ErrDecodeResponse = errors.New("decode response") )
Functions ¶
This section is empty.
Types ¶
type IClient ¶
type IClient interface { GetIndex(context.Context) (string, error) GetSettings(context.Context) (config.IConfigSettings, error) }
func NewClient ¶
func NewClient(pRequester IRequester) IClient
type IRequester ¶
type IRequester interface { GetIndex(context.Context) (string, error) GetSettings(context.Context) (config.IConfigSettings, error) }
func NewRequester ¶
func NewRequester(pHost string, pClient *http.Client) IRequester
Click to show internal directories.
Click to hide internal directories.