interfaces

package
v0.18.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

type Closer interface {
	Close()
}

Closer interface

type CloserFunc added in v0.18.0

type CloserFunc func(ctx context.Context) error

func (CloserFunc) Close added in v0.18.0

func (f CloserFunc) Close(ctx context.Context) error

type CloserWithContext

type CloserWithContext interface {
	Close(ctx context.Context)
}

CloserWithContext interface

type ErrorCloser

type ErrorCloser interface {
	Close() error
}

ErrorCloser interface

type ErrorCloserWithContext

type ErrorCloserWithContext interface {
	Close(ctx context.Context) error
}

ErrorCloserWithContext interface

type ErrorPinger

type ErrorPinger interface {
	Ping() error
}

ErrorPinger interface

type ErrorPingerWithContext

type ErrorPingerWithContext interface {
	Ping(context.Context) error
}

ErrorPingerWithContext interface

type ErrorShutdowner

type ErrorShutdowner interface {
	Shutdown() error
}

ErrorShutdowner interface

type ErrorShutdownerWithContext

type ErrorShutdownerWithContext interface {
	Shutdown(ctx context.Context) error
}

ErrorShutdownerWithContext interface

type ErrorStopper

type ErrorStopper interface {
	Stop() error
}

ErrorStopper interface

type ErrorStopperWithContext

type ErrorStopperWithContext interface {
	Stop(ctx context.Context) error
}

ErrorStopperWithContext interface

type ErrorUnsubscriber

type ErrorUnsubscriber interface {
	Unsubscribe() error
}

ErrorUnsubscriber interface

type ErrorUnsubscriberWithContext

type ErrorUnsubscriberWithContext interface {
	Unsubscribe(ctx context.Context) error
}

ErrorUnsubscriberWithContext interface

type Namer

type Namer interface {
	Name() string
}

Namer 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 Readmer

type Readmer interface {
	Readme() string
}

Readmer interface

type Shutdowner

type Shutdowner interface {
	Shutdown()
}

Shutdowner interface

type ShutdownerWithContext

type ShutdownerWithContext interface {
	Shutdown(ctx context.Context)
}

ShutdownerWithContext interface

type Stopper

type Stopper interface {
	Stop()
}

Stopper interface

type StopperWithContext

type StopperWithContext interface {
	Stop(ctx context.Context)
}

StopperWithContext interface

type Unsubscriber

type Unsubscriber interface {
	Unsubscribe()
}

Unsubscriber interface

type UnsubscriberWithContext

type UnsubscriberWithContext interface {
	Unsubscribe(ctx context.Context)
}

UnsubscriberWithContext interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL