Documentation ¶
Index ¶
- Constants
- Variables
- type Service
- type TokenSet
- func (*TokenSet) Descriptor() ([]byte, []int)
- func (m *TokenSet) Marshal() (dAtA []byte, err error)
- func (m *TokenSet) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenSet) ProtoMessage()
- func (m *TokenSet) ProtoSize() (n int)
- func (m *TokenSet) Reset()
- func (m *TokenSet) String() string
- func (m *TokenSet) Unmarshal(dAtA []byte) error
- func (m *TokenSet) XXX_DiscardUnknown()
- func (m *TokenSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenSet) XXX_Merge(src proto.Message)
- func (m *TokenSet) XXX_Size() int
- func (m *TokenSet) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( // Default mask excludes these very noisy event types to avoid filling the pipe. // FIXME: ItemStarted and ItemFinished should be excluded for the same reason. DefaultEventMask = events.AllEvents &^ events.LocalChangeDetected &^ events.RemoteChangeDetected DiskEventMask = events.LocalChangeDetected | events.RemoteChangeDetected EventSubBufferSize = 1000 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
func New ¶
func New(id protocol.DeviceID, cfg config.Wrapper, assetDir, tlsDefaultCommonName string, m model.Model, defaultSub, diskSub events.BufferedSubscription, evLogger events.Logger, discoverer discover.Manager, connectionsService connections.Service, urService *ur.Service, fss model.FolderSummaryService, errors, systemLog logger.Recorder, noUpgrade bool, miscDB *db.NamespacedKV) Service
type TokenSet ¶ added in v1.27.3
type TokenSet struct { // token -> expiry time (epoch nanoseconds) Tokens map[string]int64 `` /* 156-byte string literal not displayed */ }
func (*TokenSet) Descriptor ¶ added in v1.27.3
func (*TokenSet) MarshalToSizedBuffer ¶ added in v1.27.3
func (*TokenSet) ProtoMessage ¶ added in v1.27.3
func (*TokenSet) ProtoMessage()
func (*TokenSet) XXX_DiscardUnknown ¶ added in v1.27.3
func (m *TokenSet) XXX_DiscardUnknown()
func (*TokenSet) XXX_Marshal ¶ added in v1.27.3
func (*TokenSet) XXX_Unmarshal ¶ added in v1.27.3
Source Files ¶
Click to show internal directories.
Click to hide internal directories.