auth

package
v0.0.0-...-6bcf364 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocketV1AuthenticationResponse

type WebSocketV1AuthenticationResponse struct {
	Op        string `json:"op"`
	Timestamp int64  `json:"ts"`
	ErrorCode int    `json:"err-code"`
	Data      *struct {
		UserId int `json:"user-id"`
	}
}

func ParseWSV1AuthResp

func ParseWSV1AuthResp(message string) *WebSocketV1AuthenticationResponse

func (*WebSocketV1AuthenticationResponse) IsAuth

type WebSocketV2AuthenticationResponse

type WebSocketV2AuthenticationResponse struct {
	base.WebSocketV2ResponseBase
}

func ParseWSV2AuthResp

func ParseWSV2AuthResp(message string) *WebSocketV2AuthenticationResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL