user

package
v0.0.0-...-63a9e4b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientSend

func ClientSend(req *v10.LoginReq, callback func(res *v10.UserInfoToken))

func ClientSendUnique

func ClientSendUnique(req *v10.LoginReq, callback func(res *v10.UserInfoToken))

func StartClient

func StartClient()

func StopClient

func StopClient()

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(callback func(res *v10.UserInfoToken)) (client *Client)

func (*Client) Close

func (c *Client) Close()

func (*Client) Login

func (c *Client) Login(req *v10.LoginReq, callback func(res *v10.UserInfoToken))

type Hub

type Hub struct {
	// contains filtered or unexported fields
}

func (*Hub) Close

func (h *Hub) Close(client *Client)

Jump to

Keyboard shortcuts

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