type github.com/coder/websocket.AcceptOptions
7 uses
github.com/coder/websocket (current package)
accept.go#L24: type AcceptOptions struct {
accept.go#L84: func (opts *AcceptOptions) cloneWithDefaults() *AcceptOptions {
accept.go#L85: var o AcceptOptions
accept.go#L102: func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {
accept.go#L106: func accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (_ *Conn, err error) {
github.com/gotd/td/transport
websocket.go#L34: wsConn, err := websocket.Accept(w, r, &websocket.AcceptOptions{
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |