Documentation
¶
Overview ¶
Package config provides a struct that can store json type config file
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GrpcClient ¶
type GrpcClient struct {
Address string `json:"address"`
Timeout int `json:"timeout"`
Log struct {
Level string `json:"level"`
Output string `json:"output"`
File struct {
Name string `json:"name"`
ExtensionName string `json:"extensionName"`
AddDate bool `json:"addDate"`
} `json:"file"`
WithCallerInfo bool `json:"withCallerInfo"`
} `json:"log"`
}
type HttpClient ¶
type HttpClient struct {
Address string `json:"address"`
Log struct {
Level string `json:"level"`
Output string `json:"output"`
File struct {
Name string `json:"name"`
ExtensionName string `json:"extensionName"`
AddDate bool `json:"addDate"`
} `json:"file"`
WithCallerInfo bool `json:"withCallerInfo"`
} `json:"log"`
}
type LongPollingClient ¶
type LongPollingClient struct {
Address string `json:"address"`
SubscriptionURI string `json:"subscription_uri"`
PublishURI string `json:"publish_uri"`
Log struct {
Level string `json:"level"`
Output string `json:"output"`
File struct {
Name string `json:"name"`
ExtensionName string `json:"extensionName"`
AddDate bool `json:"addDate"`
} `json:"file"`
WithCallerInfo bool `json:"withCallerInfo"`
} `json:"log"`
}
type SocketClient ¶
type SocketClient struct {
Address string `json:"address"`
Log struct {
Level string `json:"level"`
Output string `json:"output"`
File struct {
Name string `json:"name"`
ExtensionName string `json:"extensionName"`
AddDate bool `json:"addDate"`
} `json:"file"`
WithCallerInfo bool `json:"withCallerInfo"`
} `json:"log"`
}
Click to show internal directories.
Click to hide internal directories.