messages

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePayload

func ParsePayload(message IPCMessage) interface{}

Types

type ActionResponse

type ActionResponse struct {
	Success bool
	Message string
}

type AddLoginRequest

type AddLoginRequest struct {
	Name string
	UUID string
}

type AddLoginResponse

type AddLoginResponse struct {
	Name string
	UUID string
}

type CreateSSHKeyRequest

type CreateSSHKeyRequest struct {
	Name string
}

type CreateSSHKeyResponse

type CreateSSHKeyResponse struct {
	Digest string
}

type CreateSendRequest

type CreateSendRequest struct {
	Name string
	Text string
}

type CreateSendResponse

type CreateSendResponse struct {
	URL string
}

type DecryptedLoginCipher

type DecryptedLoginCipher struct {
	Name          string
	Username      string
	Password      string
	UUID          string
	OrgaizationID string
	Notes         string
	TOTPSeed      string
	URI           string
}

type DecryptedNoteCipher

type DecryptedNoteCipher struct {
	Name     string
	Contents string
}

type DoLoginRequest

type DoLoginRequest struct {
	Email        string `json:"email"`
	Password     string `json:"password"`
	Passwordless bool   `json:"passwordless"`
}

type GetBiometricsKeyRequest

type GetBiometricsKeyRequest struct {
}

type GetBiometricsKeyResponse

type GetBiometricsKeyResponse struct {
	Key string
}

type GetCLICredentialsRequest

type GetCLICredentialsRequest struct {
	ApplicationName string
}

type GetCLICredentialsResponse

type GetCLICredentialsResponse struct {
	Env map[string]string
}

type GetConfigEnvironmentRequest

type GetConfigEnvironmentRequest struct {
}

type GetConfigEnvironmentResponse

type GetConfigEnvironmentResponse struct {
	ApiURL           string
	IdentityURL      string
	NotificationsURL string
	VaultURL         string
}

type GetLoginRequest

type GetLoginRequest struct {
	Name     string
	Username string
	UUID     string
	OrgId    string

	GetList bool
}

type GetLoginResponse

type GetLoginResponse struct {
	Found  bool
	Result DecryptedLoginCipher
}

type GetLoginsResponse

type GetLoginsResponse struct {
	Found  bool
	Result []DecryptedLoginCipher
}

type GetNoteResponse

type GetNoteResponse struct {
	Found  bool
	Result DecryptedNoteCipher
}

type GetNotesRequest

type GetNotesRequest struct {
	Name string
}

type GetNotesResponse

type GetNotesResponse struct {
	Found  bool
	Result []DecryptedNoteCipher
}

type GetRuntimeConfigRequest

type GetRuntimeConfigRequest struct{}

type GetRuntimeConfigResponse

type GetRuntimeConfigResponse struct {
	UseMemguard          bool
	SSHAgentSocketPath   string
	GoldwardenSocketPath string
}

type GetSSHKeysRequest

type GetSSHKeysRequest struct {
}

type GetSSHKeysResponse

type GetSSHKeysResponse struct {
	Keys []string
}

type GetSendRequest

type GetSendRequest struct {
	Name string
	Text string
}

type GetSendResponse

type GetSendResponse struct {
	Found bool
	Text  string
}

type GetVaultPINRequest

type GetVaultPINRequest struct {
}

type IPCMessage

type IPCMessage struct {
	Type    IPCMessageType `json:"type"`
	Payload []byte         `json:"payload"`
}

func IPCMessageFromPayload

func IPCMessageFromPayload(payload interface{}) (IPCMessage, error)

type IPCMessageType

type IPCMessageType int64

func MessageTypeForEmptyPayload

func MessageTypeForEmptyPayload(emptyPayload interface{}) IPCMessageType

type ListLoginsRequest

type ListLoginsRequest struct {
}

type ListSendsRequest

type ListSendsRequest struct {
}

type LockVaultRequest

type LockVaultRequest struct {
}

type PinentryApprovalRequest

type PinentryApprovalRequest struct {
	Message string
}

type PinentryApprovalResponse

type PinentryApprovalResponse struct {
	Approved bool
}

type PinentryPinRequest

type PinentryPinRequest struct {
	Message string
}

type PinentryPinResponse

type PinentryPinResponse struct {
	Pin string
}

type PinentryRegistrationRequest

type PinentryRegistrationRequest struct {
}

type PinentryRegistrationResponse

type PinentryRegistrationResponse struct {
	Success bool
}

type SessionAuthRequest

type SessionAuthRequest struct {
	Token string
}

type SessionAuthResponse

type SessionAuthResponse struct {
	Verified bool
}

type SetApiURLRequest

type SetApiURLRequest struct {
	Value string
}

type SetClientIDRequest

type SetClientIDRequest struct {
	Value string
}

type SetClientSecretRequest

type SetClientSecretRequest struct {
	Value string
}

type SetIdentityURLRequest

type SetIdentityURLRequest struct {
	Value string
}

type SetNotificationsURLRequest

type SetNotificationsURLRequest struct {
	Value string
}

type SetURLsAutomaticallyRequest

type SetURLsAutomaticallyRequest struct {
	Value string
}

type SetVaultURLRequest

type SetVaultURLRequest struct {
	Value string
}

type UnlockVaultRequest

type UnlockVaultRequest struct {
}

type UpdateVaultPINRequest

type UpdateVaultPINRequest struct {
}

type VaultStatusRequest

type VaultStatusRequest struct {
}

type VaultStatusResponse

type VaultStatusResponse struct {
	Locked             bool
	LoggedIn           bool
	PinSet             bool
	NumberOfLogins     int
	NumberOfNotes      int
	LastSynced         int64
	WebsockedConnected bool
}

type WipeVaultRequest

type WipeVaultRequest struct {
}

Jump to

Keyboard shortcuts

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