sessions

package
v0.0.0-...-b4b79d4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) Connect

func (c *Client) Connect() (err error)

func (*Client) Disconnect

func (c *Client) Disconnect(ctx context.Context) (err error)

func (*Client) EndAllSessions

func (c *Client) EndAllSessions(ctx context.Context, userId string) (err error)

func (*Client) ValidateSession

func (c *Client) ValidateSession(ctx context.Context, key, ip, agent string) (userId string, err error)

Jump to

Keyboard shortcuts

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