api

package
v1.27.11 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MPL-2.0 Imports: 57 Imported by: 0

Documentation

Index

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

View Source
var (
	ErrInvalidLengthTokenset        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTokenset          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTokenset = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	suture.Service
	config.Committer
	WaitForStart() error
}

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) Descriptor() ([]byte, []int)

func (*TokenSet) Marshal added in v1.27.3

func (m *TokenSet) Marshal() (dAtA []byte, err error)

func (*TokenSet) MarshalTo added in v1.27.3

func (m *TokenSet) MarshalTo(dAtA []byte) (int, error)

func (*TokenSet) MarshalToSizedBuffer added in v1.27.3

func (m *TokenSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenSet) ProtoMessage added in v1.27.3

func (*TokenSet) ProtoMessage()

func (*TokenSet) ProtoSize added in v1.27.3

func (m *TokenSet) ProtoSize() (n int)

func (*TokenSet) Reset added in v1.27.3

func (m *TokenSet) Reset()

func (*TokenSet) String added in v1.27.3

func (m *TokenSet) String() string

func (*TokenSet) Unmarshal added in v1.27.3

func (m *TokenSet) Unmarshal(dAtA []byte) error

func (*TokenSet) XXX_DiscardUnknown added in v1.27.3

func (m *TokenSet) XXX_DiscardUnknown()

func (*TokenSet) XXX_Marshal added in v1.27.3

func (m *TokenSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenSet) XXX_Merge added in v1.27.3

func (m *TokenSet) XXX_Merge(src proto.Message)

func (*TokenSet) XXX_Size added in v1.27.3

func (m *TokenSet) XXX_Size() int

func (*TokenSet) XXX_Unmarshal added in v1.27.3

func (m *TokenSet) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis
Package auto contains auto generated files for web assets.
Package auto contains auto generated files for web assets.

Jump to

Keyboard shortcuts

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