client

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const LocalClientIssuer = "ledger-local-client"

Variables

This section is empty.

Functions

func UpdateLastUsageByID added in v1.2.5

func UpdateLastUsageByID(id string) error

Types

type Client

type Client struct {
	ID        string
	Username  string
	LastUsed  time.Time
	CreatedAt time.Time
}

func CreateClient

func CreateClient(username string) (*Client, error)

func FindByID

func FindByID(id string) []Client

func FindByUsername

func FindByUsername(username string) []Client

Jump to

Keyboard shortcuts

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