Documentation ¶
Index ¶
- Variables
- type APIKey
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAcme() bool
- func (x *Config) GetAcmeDomain() string
- func (x *Config) GetAcmeEmail() string
- func (x *Config) GetAdmin() *User
- func (x *Config) GetDataPath() string
- func (x *Config) GetDomains() []string
- func (x *Config) GetLicense() string
- func (x *Config) GetListen() string
- func (x *Config) GetProfile() bool
- func (x *Config) GetUrl() string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Goal
- type License
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetCity() []byte
- func (x *Location) GetCityCode() []byte
- func (x *Location) GetNames() []string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Share
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetDomain() string
- func (x *Site) GetGoals() []*Goal
- func (x *Site) GetId() uint64
- func (x *Site) GetLocked() bool
- func (x *Site) GetPublic() bool
- func (x *Site) GetShares() []*Share
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (x *Site) String() string
- type System
- type User
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) ProtoMessage ¶ added in v1.1.0
func (*APIKey) ProtoMessage()
func (*APIKey) ProtoReflect ¶ added in v1.1.0
func (x *APIKey) ProtoReflect() protoreflect.Message
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) GetAcmeDomain ¶ added in v1.0.0
func (*Config) GetAcmeEmail ¶ added in v1.0.0
func (*Config) GetDataPath ¶ added in v1.0.0
func (*Config) GetDomains ¶ added in v1.0.0
func (*Config) GetLicense ¶ added in v1.0.0
func (*Config) GetProfile ¶ added in v1.1.0
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v1.5.1
func (*Goal) ProtoMessage()
func (*Goal) ProtoReflect ¶ added in v1.5.1
func (x *Goal) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v1.0.0
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶ added in v1.0.0
func (x *License) ProtoReflect() protoreflect.Message
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) GetCityCode ¶ added in v1.0.0
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
type Share ¶ added in v1.0.0
type Share struct { // contains filtered or unexported fields }
func (*Share) Descriptor
deprecated
added in
v1.0.0
func (*Share) GetPassword ¶ added in v1.0.0
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
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"` 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) ProtoMessage ¶ added in v1.0.0
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶ added in v1.0.0
func (x *Site) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v1.0.0
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶ added in v1.0.0
func (x *System) ProtoReflect() protoreflect.Message
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) GetPassword ¶ added in v1.0.0
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
Click to show internal directories.
Click to hide internal directories.