Documentation ¶
Index ¶
- Variables
- func New(opts ...ServerOption) (pubsub.Server, error)
- type Config
- type ServerOption
- func EmmitBufferSize(emmitBufferSize uint) ServerOption
- func EnableAll() ServerOption
- func EnableICP() ServerOption
- func EnableINPROC() ServerOption
- func EnableTCP() ServerOption
- func EnableTLSTCP() ServerOption
- func EnableWS() ServerOption
- func EnableWSS() ServerOption
- func URL(url string) ServerOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultEmmitBufferSize uint = 10 DefaultURL = "ws://127.0.0.1:40899" )
Functions ¶
Types ¶
type ServerOption ¶
func EmmitBufferSize ¶
func EmmitBufferSize(emmitBufferSize uint) ServerOption
func EnableAll ¶
func EnableAll() ServerOption
func EnableICP ¶
func EnableICP() ServerOption
func EnableINPROC ¶
func EnableINPROC() ServerOption
func EnableTCP ¶
func EnableTCP() ServerOption
func EnableTLSTCP ¶
func EnableTLSTCP() ServerOption
func EnableWS ¶
func EnableWS() ServerOption
func EnableWSS ¶
func EnableWSS() ServerOption
func URL ¶
func URL(url string) ServerOption
Click to show internal directories.
Click to hide internal directories.