Documentation ¶
Index ¶
- Constants
- Variables
- func Expensive(f func() slog.Value) slog.LogValuer
- func LogCounter() slog.LogValuer
- func OptionalStr(s string) *string
- func ReceiveFromChannel[T any](ctx context.Context, c <-chan T) (T, bool)
- func RunProcess(startProcess func() (io.Closer, error))
- func SendToChannel[T any](ctx context.Context, c chan<- T, e interface{}) bool
- func WaitUntilSignal(closers ...io.Closer)
- type BufferReader
- type BufferWriter
- type ConfigMap
Constants ¶
View Source
const ( PulsarTubeType = "pulsar" MemoryTubeType = "memory" HttpTubeType = "http" WASMRuntime = "wasm" RuntimeArchiveConfigKey = "archive" StateStorePebble = "pebble" )
Variables ¶
Functions ¶
func LogCounter ¶
func OptionalStr ¶
func RunProcess ¶
func WaitUntilSignal ¶
Types ¶
type BufferReader ¶
type BufferReader struct {
// contains filtered or unexported fields
}
func NewChanReader ¶
func NewChanReader() *BufferReader
func (*BufferReader) ResetBuffer ¶
func (r *BufferReader) ResetBuffer(data []byte)
type BufferWriter ¶
type BufferWriter struct {
// contains filtered or unexported fields
}
func NewChanWriter ¶
func NewChanWriter() *BufferWriter
func (*BufferWriter) GetAndReset ¶
func (w *BufferWriter) GetAndReset() []byte
Source Files ¶
Click to show internal directories.
Click to hide internal directories.