sessionClient

package
v0.0.0-...-e4a9a5f Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REST = "REST"
	GRPC = "GRPC"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStatus

type GetStatus struct {
	StatusCode int32
	Data       string
	ErrMessage string
}

func GetSession

func GetSession(userID string) (*GetStatus, error)

type SetStatus

type SetStatus struct {
	StatusCode int32
	ErrMessage string
}

func SetSession

func SetSession(userID, sessionCode string) (*SetStatus, error)

Jump to

Keyboard shortcuts

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