Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultConsumer ¶
func SetDefaultHTTPClient ¶
Types ¶
type EOSSettings ¶
type EOSSettings struct {
HTTPClient *http.Client
Consumer *state.Consumer
MaxTries int
ForceHTFSCheck bool
HTFSDumpStats bool
}
func DefaultSettings ¶
func DefaultSettings() *EOSSettings
type Option ¶
type Option interface {
Apply(*EOSSettings)
}
func WithConsumer ¶
func WithHTFSCheck ¶
func WithHTFSCheck() Option
func WithHTFSDumpStats ¶
func WithHTFSDumpStats() Option
func WithHTTPClient ¶
func WithMaxTries ¶
Click to show internal directories.
Click to hide internal directories.