Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoHttpServiceInContext = errors.New("no http service in context") ErrInvalidServiceInContext = errors.New("invalid service in context") )
Functions ¶
Types ¶
type Option ¶ added in v0.0.26
type Option func(*Service)
func WithTimeout ¶ added in v0.0.26
WithTimeout sets the timeout directly.
func WithTimeoutString ¶ added in v0.0.26
WithTimeoutString parses a string like "5s" or "2m" and sets the timeout.
Click to show internal directories.
Click to hide internal directories.