messages

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 added in v0.2.11

type CreateSendRequest struct {
	Name string
	Text string
}

type CreateSendResponse added in v0.2.11

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 added in v0.2.11

type GetConfigEnvironmentRequest struct {
}

type GetConfigEnvironmentResponse added in v0.2.11

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 added in v0.2.7

type GetRuntimeConfigRequest struct{}

type GetRuntimeConfigResponse added in v0.2.7

type GetRuntimeConfigResponse struct {
	UseMemguard          bool
	SSHAgentSocketPath   string
	GoldwardenSocketPath string
}

type GetSSHKeysRequest

type GetSSHKeysRequest struct {
}

type GetSSHKeysResponse

type GetSSHKeysResponse struct {
	Keys []string
}

type GetSendRequest added in v0.2.11

type GetSendRequest struct {
	Name string
	Text string
}

type GetSendResponse added in v0.2.11

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 added in v0.2.11

type ListSendsRequest struct {
}

type LockVaultRequest

type LockVaultRequest struct {
}

type PinentryApprovalRequest added in v0.2.11

type PinentryApprovalRequest struct {
	Message string
}

type PinentryApprovalResponse added in v0.2.11

type PinentryApprovalResponse struct {
	Approved bool
}

type PinentryPinRequest added in v0.2.11

type PinentryPinRequest struct {
	Message string
}

type PinentryPinResponse added in v0.2.11

type PinentryPinResponse struct {
	Pin string
}

type PinentryRegistrationRequest added in v0.2.11

type PinentryRegistrationRequest struct {
}

type PinentryRegistrationResponse added in v0.2.11

type PinentryRegistrationResponse struct {
	Success bool
}

type SessionAuthRequest added in v0.2.11

type SessionAuthRequest struct {
	Token string
}

type SessionAuthResponse added in v0.2.11

type SessionAuthResponse struct {
	Verified bool
}

type SetApiURLRequest

type SetApiURLRequest struct {
	Value string
}

type SetClientIDRequest added in v0.2.8

type SetClientIDRequest struct {
	Value string
}

type SetClientSecretRequest added in v0.2.8

type SetClientSecretRequest struct {
	Value string
}

type SetIdentityURLRequest

type SetIdentityURLRequest struct {
	Value string
}

type SetNotificationsURLRequest

type SetNotificationsURLRequest struct {
	Value string
}

type SetURLsAutomaticallyRequest added in v0.2.11

type SetURLsAutomaticallyRequest struct {
	Value string
}

type SetVaultURLRequest added in v0.2.11

type SetVaultURLRequest struct {
	Value string
}

type UnlockVaultRequest

type UnlockVaultRequest struct {
}

type UpdateVaultPINRequest

type UpdateVaultPINRequest struct {
}

type VaultStatusRequest added in v0.2.0

type VaultStatusRequest struct {
}

type VaultStatusResponse added in v0.2.0

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