desktop

package
v0.0.0-...-54661f9 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebBaseURL     = "https://cipherb.in"
	APIBaseURL     = "https://api.cipherb.in"
	PrefCurrentTab = "currentTab"
)

API endpoint constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client defines the main desktop client structure.

func NewClient

func NewClient(httpClient *http.Client) (*Client, error)

NewClient sets up and initializes a desktop client using the provided http client.

func (*Client) Run

func (c *Client) Run()

Run runs the desktop application.

Jump to

Keyboard shortcuts

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