Versions in this module Expand all Collapse all v1 v1.0.2 Nov 28, 2022 v1.0.0 Nov 24, 2022 Changes in this version + func RegisterPrivateChannel(channelStr string) channel.Channel + func RegisterPrivateChannels(channels ...string) []channel.Channel + func RegisterPublicChannel(channelStr string) channel.Channel + func RegisterPublicChannels(channels ...string) []channel.Channel + func WithAuthFunc(authFunc auth.AuthenticateFunc) func(config *Config) + func WithLogger(logger log.Logger) func(config *Config) + func WithOutboundBufferSize(size int) conn.Option + func WithPingMessageFunc(messageFunc conn.PingMessageFunc) conn.Option + func WithPingPeriod(duration time.Duration) conn.Option + func WithPongWait(duration time.Duration) conn.Option + type Channelize struct + func NewChannelize(options ...Option) *Channelize + func (c *Channelize) CreateConnection(ctx context.Context, wsConn *websocket.Conn, options ...conn.Option) *conn.Connection + func (c *Channelize) MakeHTTPHandler(appCtx context.Context, upgrader websocket.Upgrader, options ...conn.Option) http.HandlerFunc + func (c *Channelize) SendPrivateMessage(ctx context.Context, ch channel.Channel, userID string, message interface{}) error + func (c *Channelize) SendPublicMessage(ctx context.Context, ch channel.Channel, message interface{}) error + type Config struct + type Option func(*Config)