api

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package api provides methods that leverage the local SQLite DB ang the Pennsieve Client.

Index

Constants

This section is empty.

Variables

View Source
var PennsieveClient *pennsieve.Client

PennsieveClient represents the client from the Pennsieve-Go library

Functions

func GetActiveUser

func GetActiveUser() (*models.UserInfo, error)

GetActiveUser returns userInfo for active user and updates local SQlite DB

func SwitchUser

func SwitchUser(profile string) (*models.UserInfo, error)

SwitchUser SwtichUser

Types

This section is empty.

Jump to

Keyboard shortcuts

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