modeltiphereth

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken string

type Account

type Account struct {
	ID                model.InternalID
	Platform          string
	PlatformAccountID string
	Name              string
	ProfileURL        string
	AvatarURL         string
	LatestUpdateTime  time.Time
}

type PorterFeatureSummary added in v0.2.0

type PorterFeatureSummary struct {
	SupportedAccounts           []*SupportedAccount `json:"supported_accounts"`
	SupportedAppSources         []string            `json:"supported_app_sources"`
	SupportedFeedSources        []string            `json:"supported_feed_sources"`
	SupportedNotifyDestinations []string            `json:"supported_notify_destinations"`
}

type PorterInstance added in v0.2.0

type PorterInstance struct {
	ID             model.InternalID
	Name           string
	Version        string
	GlobalName     string
	Address        string
	FeatureSummary *PorterFeatureSummary
	Status         PorterInstanceStatus
}

type PorterInstancePrivilege added in v0.2.0

type PorterInstancePrivilege struct {
	All bool `json:"all"`
}

type PorterInstanceStatus added in v0.2.0

type PorterInstanceStatus int
const (
	PorterInstanceStatusUnspecified PorterInstanceStatus = iota
	PorterInstanceStatusActive
	PorterInstanceStatusBlocked
)

type PullAccountInfo

type PullAccountInfo struct {
	ID                model.InternalID
	Platform          string
	PlatformAccountID string
}

type RefreshToken

type RefreshToken string

type ServerFeatureSummary added in v0.2.0

type ServerFeatureSummary struct {
	SupportedAccountPlatforms   []string
	SupportedAppSources         []string
	SupportedFeedSources        []string
	SupportedNotifyDestinations []string
}

type SupportedAccount added in v0.2.0

type SupportedAccount struct {
	Platform         string                         `json:"platform"`
	AppRelationTypes []model.AccountAppRelationType `json:"app_relation_types"`
}

type User

type User struct {
	ID       model.InternalID
	UserName string
	PassWord string
	Type     libauth.UserType
	Status   UserStatus
}

type UserStatus

type UserStatus int
const (
	UserStatusUnspecified UserStatus = iota
	UserStatusActive
	UserStatusBlocked
)

Jump to

Keyboard shortcuts

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