Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommOption ¶ added in v0.2.1
type CommOption func(*Comm)
func CommWithLogger ¶ added in v0.2.1
func CommWithLogger(logger *slog.Logger) CommOption
func CommWithLoggerWith ¶ added in v0.2.1
func CommWithLoggerWith(args ...any) CommOption
type InitCommF ¶ added in v0.2.0
type InitCommF func(msgCB MsgCB, opts ...CommOption) (*Comm, error)
type MsgCB ¶ added in v0.2.0
type MsgCB func(msg json.RawMessage) error
type ServerOption ¶ added in v0.2.1
type ServerOption func(*Server)
func ServerWithLogger ¶ added in v0.2.1
func ServerWithLogger(logger *slog.Logger) ServerOption
Click to show internal directories.
Click to hide internal directories.