Documentation ¶
Index ¶
- func Serve(ctx context.Context, wg *sync.WaitGroup, cfg *config.Config)
- type CallbackResponse
- type ChangeKeyRequest
- type ChangeKeyResponse
- type ChangeMemberPermissionRequest
- type ChangeMemberPermissionResponse
- type ChangeNetworkDurationRequest
- type ChangeNetworkStatusRequest
- type CreateKeyRequest
- type CreateKeyResponse
- type DeleteKeyResponse
- type DeleteNetworkDeviceResponse
- type DeleteNetworkUserResponse
- type DeviceDeleteRequest
- type DeviceListItem
- type DeviceListResponse
- type DeviceOperationResponse
- type DeviceUpdateRequest
- type ExchangeKeyResponse
- type HandleInvitationRequest
- type HandleInvitationResponse
- type InvitationListItem
- type InvitationListResponse
- type InviteMemberRequest
- type InviteMemberResponse
- type KeyListItem
- type KeyListResponse
- type KeyType
- type NetworkInfoResponse
- type NetworkItem
- type NetworkMemberItem
- type NetworkMemberResponse
- type NetworkOperationResponse
- type NetworkRequest
- type NetworkResponse
- type SSOMethod
- type UserInfo
- type UserProfileResponse
- type UserProfileSettingRequest
- type UserProfileSettingResponse
- type Vars
- type VersionCheckResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallbackResponse ¶
type ChangeKeyRequest ¶
type ChangeKeyRequest struct {
Op string `json:"op"`
}
type ChangeKeyResponse ¶
type ChangeKeyResponse struct { }
type ChangeMemberPermissionRequest ¶
type ChangeMemberPermissionRequest struct {
Role string `json:"role"`
}
type ChangeNetworkStatusRequest ¶
type ChangeNetworkStatusRequest struct {
Status string `json:"status"`
}
type CreateKeyRequest ¶
type CreateKeyResponse ¶
type DeleteKeyResponse ¶
type DeleteKeyResponse struct { }
type DeviceDeleteRequest ¶
type DeviceListItem ¶
type DeviceListResponse ¶
type DeviceListResponse struct {
Devices []DeviceListItem `json:"devices"`
}
type DeviceOperationResponse ¶
type DeviceOperationResponse struct {
Success bool `json:"success"`
}
type DeviceUpdateRequest ¶
type DeviceUpdateRequest struct {
Name string `json:"name"`
}
type ExchangeKeyResponse ¶
type HandleInvitationRequest ¶
type HandleInvitationRequest struct {
Action string `json:"action"`
}
type InvitationListItem ¶
type InvitationListItem struct { InvitationID models.ID `json:"invitation_id"` NetworkID models.ID `json:"network_id"` NetworkName string `json:"network_name"` InvitedByUserName string `json:"invited_by_user_name"` InvitedByUserEmail string `json:"invited_by_user_email"` InviteUserName string `json:"invite_user_name"` InviteDeviceCount uint `json:"invite_device_count"` }
type InvitationListResponse ¶
type InvitationListResponse struct {
Invitations []InvitationListItem `json:"invitations"`
}
type InviteMemberRequest ¶
type InviteMemberResponse ¶
type KeyListItem ¶
type KeyListResponse ¶
type KeyListResponse struct {
Keys []KeyListItem `json:"keys"`
}
type NetworkInfoResponse ¶
type NetworkInfoResponse struct {
Networks []NetworkItem `json:"networks"`
}
type NetworkItem ¶
type NetworkMemberItem ¶
type NetworkMemberResponse ¶
type NetworkMemberResponse struct { Members []NetworkMemberItem `json:"members"` Owner bool `json:"owner"` Admin bool `json:"admin"` }
type NetworkOperationResponse ¶
type NetworkOperationResponse struct {
Success bool `json:"success"`
}
type NetworkRequest ¶
type NetworkResponse ¶
type NetworkResponse struct {
Network NetworkItem `json:"network"`
}
type UserProfileResponse ¶
type VersionCheckResponse ¶
Click to show internal directories.
Click to hide internal directories.