wire

package
v0.25.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientID

type ClientID struct {
	Scheme   string
	Username string
	DeviceID string
	Domain   string
}

func ParseClientID

func ParseClientID(clientID string) (ClientID, error)

ParseClientID parses a Wire clientID. The ClientID format is as follows:

"wireapp://CzbfFjDOQrenCbDxVmgnFw!594930e9d50bb175@wire.com",

where '!' is used as a separator between the user id & device id.

type ID

type ID struct {
	Name     string `json:"name,omitempty"`
	Domain   string `json:"domain,omitempty"`
	ClientID string `json:"client-id,omitempty"`
	Handle   string `json:"handle,omitempty"`
}

func ParseID

func ParseID(data []byte) (wireID ID, err error)

Jump to

Keyboard shortcuts

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