Documentation
¶
Index ¶
- Constants
- type Offline
- func (m *Offline) AccountFeatures(_ context.Context) ([]string, error)
- func (m *Offline) Name() string
- func (m *Offline) ServerFeatures(_ context.Context) ([]string, error)
- func (m *Offline) Start(_ context.Context) error
- func (m *Offline) Stop(_ context.Context) error
- func (m *Offline) StreamFeature(_ context.Context, _ string) (stravaganza.Element, error)
- type Options
Constants ¶
View Source
const ModuleName = "offline"
ModuleName represents offline module name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Offline ¶
type Offline struct {
// contains filtered or unexported fields
}
Offline represents offline module type.
func New ¶
func New( router router.Router, hosts *host.Hosts, rep repository.Offline, locker locker.Locker, sn *sonar.Sonar, opts Options, ) *Offline
New creates and initializes a new Offline instance.
func (*Offline) AccountFeatures ¶ added in v0.52.2
AccountFeatures returns offline module account disco features.
func (*Offline) ServerFeatures ¶ added in v0.52.2
ServerFeatures returns offline module server disco features.
func (*Offline) StreamFeature ¶ added in v0.52.2
StreamFeature returns offline module stream feature.
Click to show internal directories.
Click to hide internal directories.