Documentation ¶
Index ¶
- type Socket
- func (ws *Socket) AuthRequested() bo
- func (ws *Socket) Authed() st
- func (ws *Socket) AuthedBytes() by
- func (ws *Socket) Challenge() st
- func (ws *Socket) IsAuthed() bo
- func (ws *Socket) Limiter() *rate.Limiter
- func (ws *Socket) RealRemote() st
- func (ws *Socket) Req() *http.Request
- func (ws *Socket) RequestAuth()
- func (ws *Socket) SetAuthed(s st)
- func (ws *Socket) SetLimiter(l *rate.Limiter)
- func (ws *Socket) Write(p by) (n no, err er)
- func (ws *Socket) WriteJSON(any interface{}) er
- func (ws *Socket) WriteMessage(t no, b by) er
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
func (*Socket) AuthRequested ¶ added in v1.0.7
func (ws *Socket) AuthRequested() bo
func (*Socket) AuthedBytes ¶ added in v1.0.13
func (ws *Socket) AuthedBytes() by
func (*Socket) RealRemote ¶
func (ws *Socket) RealRemote() st
func (*Socket) RequestAuth ¶ added in v1.0.7
func (ws *Socket) RequestAuth()
func (*Socket) SetLimiter ¶
func (*Socket) WriteMessage ¶
func (ws *Socket) WriteMessage(t no, b by) er
Click to show internal directories.
Click to hide internal directories.