Documentation ¶
Index ¶
- type Closer
- type CloserFunc
- type CloserWithContext
- type ErrorCloser
- type ErrorCloserWithContext
- type ErrorPinger
- type ErrorPingerWithContext
- type ErrorShutdowner
- type ErrorShutdownerWithContext
- type ErrorStopper
- type ErrorStopperWithContext
- type ErrorUnsubscriber
- type ErrorUnsubscriberWithContext
- type Namer
- type ReadmeHandler
- type Readmer
- type Shutdowner
- type ShutdownerWithContext
- type Stopper
- type StopperWithContext
- type Unsubscriber
- type UnsubscriberWithContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloserFunc ¶ added in v0.18.0
type CloserWithContext ¶
CloserWithContext interface
type ErrorCloserWithContext ¶
ErrorCloserWithContext interface
type ErrorPingerWithContext ¶
ErrorPingerWithContext interface
type ErrorShutdowner ¶
type ErrorShutdowner interface {
Shutdown() error
}
ErrorShutdowner interface
type ErrorShutdownerWithContext ¶
ErrorShutdownerWithContext interface
type ErrorStopperWithContext ¶
ErrorStopperWithContext interface
type ErrorUnsubscriber ¶
type ErrorUnsubscriber interface {
Unsubscribe() error
}
ErrorUnsubscriber interface
type ErrorUnsubscriberWithContext ¶
ErrorUnsubscriberWithContext interface
type ReadmeHandler ¶
type ReadmeHandler struct {
Value func() string
}
func ReadmeFunc ¶
func ReadmeFunc(v func() string) ReadmeHandler
func (ReadmeHandler) Readme ¶
func (r ReadmeHandler) Readme() string
type ShutdownerWithContext ¶
ShutdownerWithContext interface
type StopperWithContext ¶
StopperWithContext interface
type UnsubscriberWithContext ¶
UnsubscriberWithContext interface
Click to show internal directories.
Click to hide internal directories.