Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeResponseDto ¶
type ChallengeResponseDto struct {
Challenge string `json:"challenge"`
}
type ChallengeSuccessEncryptedKeyDto ¶
type ChallengeSuccessEncryptedKeyDto struct {
PublicKey []byte `json:"public_key"`
}
type ClientMessageDto ¶
type DataDto ¶
type DataDto struct { ID uuid.UUID `json:"id"` Username string `json:"username"` Keys []KeyDto `json:"keys"` SshConfig []SshConfigDto `json:"ssh_config"` Machines []MachineDto `json:"machines"` }
type Dto ¶
type Dto interface { DataDto | UserDto | UserMachineDto | ChallengeResponseDto | ChallengeSuccessEncryptedKeyDto | MessageDto | EncryptedMasterKeyDto | MasterKeyDto | PublicKeyDto }
type EncryptedMasterKeyDto ¶
type EncryptedMasterKeyDto struct {
EncryptedMasterKey []byte `json:"encrypted_master_key"`
}
type MachineDto ¶
type MachineDto struct {
Name string `json:"machine_name"`
}
type MasterKeyDto ¶
type MasterKeyDto struct {
MasterKey []byte `json:"master_key"`
}
type MessageDto ¶
type MessageDto struct {
Message string `json:"message"`
}
type PublicKeyDto ¶
type PublicKeyDto struct {
PublicKey []byte `json:"public_key"`
}
type ServerMessageDto ¶
type SshConfigDto ¶
type UserDto ¶
type UserDto struct { Username string `json:"username"` Machines []MachineDto `json:"machines"` }
type UserMachineDto ¶
Click to show internal directories.
Click to hide internal directories.