mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
13 lines
519 B
Go
13 lines
519 B
Go
// Copyright (c) 2026 Lark Technologies Pte. Ltd.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
// Package websocket adapts the platform WebSocket connection into a pluggable
|
|
// event source (separate package to keep business registrations free of SDK
|
|
// transitive deps).
|
|
package websocket
|
|
|
|
// StatusNotifier surfaces source lifecycle states; detail is free-form
|
|
// context. A function alias so implementations structurally satisfy the
|
|
// bus-side Source port without importing it.
|
|
type StatusNotifier = func(state, detail string)
|