MCPcopy Create free account
hub / github.com/LockGit/gochat / ServerOptions

Struct ServerOptions

connect/server.go:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25type ServerOptions struct {
26 WriteWait time.Duration
27 PongWait time.Duration
28 PingPeriod time.Duration
29 MaxMessageSize int64
30 ReadBufferSize int
31 WriteBufferSize int
32 BroadcastSize int
33}
34
35func NewServer(b []*Bucket, o Operator, options ServerOptions) *Server {
36 s := new(Server)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected