config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(cfg Config) error

Types

type CliCredentialProvider added in v0.6.0

type CliCredentialProvider struct{}

func (CliCredentialProvider) Load added in v0.6.0

func (CliCredentialProvider) Save added in v0.6.0

type Config

type Config struct {
	Credentials
	TypstCachePkgPath string `json:"typstCachePkgPath"`
}

func Load

func Load() (Config, error)

type Credentials added in v0.6.0

type Credentials struct {
	AccessToken  string `json:"accessToken"`
	RefreshToken string `json:"refreshToken,omitempty"`
}

Jump to

Keyboard shortcuts

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