v1

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_vince_v1_config_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_license_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_util_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_vince_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIKey added in v1.1.0

type APIKey struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Hash   []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKey) Descriptor deprecated added in v1.1.0

func (*APIKey) Descriptor() ([]byte, []int)

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetHash added in v1.1.0

func (x *APIKey) GetHash() []byte

func (*APIKey) GetName added in v1.1.0

func (x *APIKey) GetName() string

func (*APIKey) GetPrefix added in v1.1.0

func (x *APIKey) GetPrefix() string

func (*APIKey) ProtoMessage added in v1.1.0

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect added in v1.1.0

func (x *APIKey) ProtoReflect() protoreflect.Message

func (*APIKey) Reset added in v1.1.0

func (x *APIKey) Reset()

func (*APIKey) String added in v1.1.0

func (x *APIKey) String() string

type Config

type Config struct {
	Listen     string   `protobuf:"bytes,1,opt,name=listen,proto3" json:"listen,omitempty"`
	DataPath   string   `protobuf:"bytes,2,opt,name=data_path,json=dataPath,proto3" json:"data_path,omitempty"`
	Acme       bool     `protobuf:"varint,3,opt,name=acme,proto3" json:"acme,omitempty"`
	AcmeEmail  string   `protobuf:"bytes,4,opt,name=acme_email,json=acmeEmail,proto3" json:"acme_email,omitempty"`
	AcmeDomain string   `protobuf:"bytes,5,opt,name=acme_domain,json=acmeDomain,proto3" json:"acme_domain,omitempty"`
	Admin      *User    `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"`
	License    string   `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty"`
	Url        string   `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"`
	Domains    []string `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty"`
	Profile    bool     `protobuf:"varint,10,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAcme

func (x *Config) GetAcme() bool

func (*Config) GetAcmeDomain added in v1.0.0

func (x *Config) GetAcmeDomain() string

func (*Config) GetAcmeEmail added in v1.0.0

func (x *Config) GetAcmeEmail() string

func (*Config) GetAdmin added in v1.0.0

func (x *Config) GetAdmin() *User

func (*Config) GetDataPath added in v1.0.0

func (x *Config) GetDataPath() string

func (*Config) GetDomains added in v1.0.0

func (x *Config) GetDomains() []string

func (*Config) GetLicense added in v1.0.0

func (x *Config) GetLicense() string

func (*Config) GetListen

func (x *Config) GetListen() string

func (*Config) GetProfile added in v1.1.0

func (x *Config) GetProfile() bool

func (*Config) GetUrl added in v1.0.0

func (x *Config) GetUrl() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Goal added in v1.5.1

type Goal struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Goal) Descriptor deprecated added in v1.5.1

func (*Goal) Descriptor() ([]byte, []int)

Deprecated: Use Goal.ProtoReflect.Descriptor instead.

func (*Goal) GetName added in v1.5.1

func (x *Goal) GetName() string

func (*Goal) GetPath added in v1.5.1

func (x *Goal) GetPath() string

func (*Goal) ProtoMessage added in v1.5.1

func (*Goal) ProtoMessage()

func (*Goal) ProtoReflect added in v1.5.1

func (x *Goal) ProtoReflect() protoreflect.Message

func (*Goal) Reset added in v1.5.1

func (x *Goal) Reset()

func (*Goal) String added in v1.5.1

func (x *Goal) String() string

type License added in v1.0.0

type License struct {
	Expiry uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Email  string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*License) Descriptor deprecated added in v1.0.0

func (*License) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetEmail added in v1.0.0

func (x *License) GetEmail() string

func (*License) GetExpiry added in v1.0.0

func (x *License) GetExpiry() uint64

func (*License) ProtoMessage added in v1.0.0

func (*License) ProtoMessage()

func (*License) ProtoReflect added in v1.0.0

func (x *License) ProtoReflect() protoreflect.Message

func (*License) Reset added in v1.0.0

func (x *License) Reset()

func (*License) String added in v1.0.0

func (x *License) String() string

type Location added in v1.0.0

type Location struct {
	Names    []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	City     []byte   `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	CityCode []byte   `protobuf:"bytes,3,opt,name=city_code,json=cityCode,proto3" json:"city_code,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated added in v1.0.0

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetCity added in v1.0.0

func (x *Location) GetCity() []byte

func (*Location) GetCityCode added in v1.0.0

func (x *Location) GetCityCode() []byte

func (*Location) GetNames added in v1.0.0

func (x *Location) GetNames() []string

func (*Location) ProtoMessage added in v1.0.0

func (*Location) ProtoMessage()

func (*Location) ProtoReflect added in v1.0.0

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset added in v1.0.0

func (x *Location) Reset()

func (*Location) String added in v1.0.0

func (x *Location) String() string

type Share added in v1.0.0

type Share struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Password []byte `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*Share) Descriptor deprecated added in v1.0.0

func (*Share) Descriptor() ([]byte, []int)

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetId added in v1.0.0

func (x *Share) GetId() string

func (*Share) GetName added in v1.0.0

func (x *Share) GetName() string

func (*Share) GetPassword added in v1.0.0

func (x *Share) GetPassword() []byte

func (*Share) ProtoMessage added in v1.0.0

func (*Share) ProtoMessage()

func (*Share) ProtoReflect added in v1.0.0

func (x *Share) ProtoReflect() protoreflect.Message

func (*Share) Reset added in v1.0.0

func (x *Share) Reset()

func (*Share) String added in v1.0.0

func (x *Share) String() string

type Site added in v1.0.0

type Site struct {
	Id     uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Domain string   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	Public bool     `protobuf:"varint,3,opt,name=public,proto3" json:"public,omitempty"`
	Shares []*Share `protobuf:"bytes,4,rep,name=shares,proto3" json:"shares,omitempty"`
	Locked bool     `protobuf:"varint,5,opt,name=locked,proto3" json:"locked,omitempty"`
	Goals  []*Goal  `protobuf:"bytes,6,rep,name=goals,proto3" json:"goals,omitempty"`
	// contains filtered or unexported fields
}

func (*Site) Descriptor deprecated added in v1.0.0

func (*Site) Descriptor() ([]byte, []int)

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetDomain added in v1.0.0

func (x *Site) GetDomain() string

func (*Site) GetGoals added in v1.5.1

func (x *Site) GetGoals() []*Goal

func (*Site) GetId added in v1.0.0

func (x *Site) GetId() uint64

func (*Site) GetLocked added in v1.0.0

func (x *Site) GetLocked() bool

func (*Site) GetPublic added in v1.0.0

func (x *Site) GetPublic() bool

func (*Site) GetShares added in v1.0.0

func (x *Site) GetShares() []*Share

func (*Site) ProtoMessage added in v1.0.0

func (*Site) ProtoMessage()

func (*Site) ProtoReflect added in v1.0.0

func (x *Site) ProtoReflect() protoreflect.Message

func (*Site) Reset added in v1.0.0

func (x *Site) Reset()

func (*Site) String added in v1.0.0

func (x *Site) String() string

type System added in v1.0.0

type System struct {
	Expiry uint64 `protobuf:"varint,1,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Email  string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*System) Descriptor deprecated added in v1.0.0

func (*System) Descriptor() ([]byte, []int)

Deprecated: Use System.ProtoReflect.Descriptor instead.

func (*System) GetEmail added in v1.0.0

func (x *System) GetEmail() string

func (*System) GetExpiry added in v1.0.0

func (x *System) GetExpiry() uint64

func (*System) ProtoMessage added in v1.0.0

func (*System) ProtoMessage()

func (*System) ProtoReflect added in v1.0.0

func (x *System) ProtoReflect() protoreflect.Message

func (*System) Reset added in v1.0.0

func (x *System) Reset()

func (*System) String added in v1.0.0

func (x *System) String() string

type User added in v1.0.0

type User struct {
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated added in v1.0.0

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail added in v1.0.0

func (x *User) GetEmail() string

func (*User) GetName added in v1.0.0

func (x *User) GetName() string

func (*User) GetPassword added in v1.0.0

func (x *User) GetPassword() string

func (*User) ProtoMessage added in v1.0.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v1.0.0

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset added in v1.0.0

func (x *User) Reset()

func (*User) String added in v1.0.0

func (x *User) String() string

Jump to

Keyboard shortcuts

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