Documentation
¶
Index ¶
- func Exists(file string) bool
- func GetEnv() string
- func ReadFile(fileName string, obj interface{}) ([]byte, error)
- func ReadFileLines(fileName string) ([]string, error)
- func WriteFile(fileName string, obj interface{}) error
- type AppConfig
- type File
- type Linkedin
- type LinkedinConfig
- type LinkedinOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileLines ¶
Types ¶
type Linkedin ¶
type Linkedin struct {
// contains filtered or unexported fields
}
func (*Linkedin) Reconfigure ¶
func (linkedin *Linkedin) Reconfigure(options ...LinkedinOption)
Reconfigure ...
type LinkedinConfig ¶
type LinkedinConfig struct {
Log struct {
Level string `json:"level"`
} `json:"log"`
Authorization struct {
Id string `json:"id"`
Secret string `json:"secret"`
} `json:"authorization"`
Hosts struct {
Api string `json:"api"`
} `json:"hosts"`
}
LinkedinConfig ...
type LinkedinOption ¶
type LinkedinOption func(linkedin *Linkedin)
LinkedinOption ...
func WithConfiguration ¶
func WithConfiguration(config *LinkedinConfig) LinkedinOption
WithConfiguration ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.