shared

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncRequest

type SyncRequest struct {
	Options *SyncRequest_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}

func (*SyncRequest) Descriptor

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

func (*SyncRequest) GetOptions

func (m *SyncRequest) GetOptions() *SyncRequest_Options

func (*SyncRequest) ProtoMessage

func (*SyncRequest) ProtoMessage()

func (*SyncRequest) Reset

func (m *SyncRequest) Reset()

func (*SyncRequest) String

func (m *SyncRequest) String() string

func (*SyncRequest) Validate

func (m *SyncRequest) Validate() error

Validate checks the field values on SyncRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SyncRequest) XXX_DiscardUnknown

func (m *SyncRequest) XXX_DiscardUnknown()

func (*SyncRequest) XXX_Marshal

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

func (*SyncRequest) XXX_Merge

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

func (*SyncRequest) XXX_Size

func (m *SyncRequest) XXX_Size() int

func (*SyncRequest) XXX_Unmarshal

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

type SyncRequestValidationError

type SyncRequestValidationError struct {
	// contains filtered or unexported fields
}

SyncRequestValidationError is the validation error returned by SyncRequest.Validate if the designated constraints aren't met.

func (SyncRequestValidationError) Cause

Cause function returns cause value.

func (SyncRequestValidationError) Error

Error satisfies the builtin error interface

func (SyncRequestValidationError) ErrorName

func (e SyncRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SyncRequestValidationError) Field

Field function returns field value.

func (SyncRequestValidationError) Key

Key function returns key value.

func (SyncRequestValidationError) Reason

Reason function returns reason value.

type SyncRequest_Options

type SyncRequest_Options struct {
	Refresh bool `protobuf:"varint,1,opt,name=refresh,proto3" json:"refresh,omitempty"`
	Drop    bool `protobuf:"varint,2,opt,name=drop,proto3" json:"drop,omitempty"`
	Clean   bool `protobuf:"varint,3,opt,name=clean,proto3" json:"clean,omitempty"`
}

func (*SyncRequest_Options) Descriptor

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

func (*SyncRequest_Options) GetClean

func (m *SyncRequest_Options) GetClean() bool

func (*SyncRequest_Options) GetDrop

func (m *SyncRequest_Options) GetDrop() bool

func (*SyncRequest_Options) GetRefresh

func (m *SyncRequest_Options) GetRefresh() bool

func (*SyncRequest_Options) ProtoMessage

func (*SyncRequest_Options) ProtoMessage()

func (*SyncRequest_Options) Reset

func (m *SyncRequest_Options) Reset()

func (*SyncRequest_Options) String

func (m *SyncRequest_Options) String() string

func (*SyncRequest_Options) Validate

func (m *SyncRequest_Options) Validate() error

Validate checks the field values on SyncRequest_Options with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SyncRequest_Options) XXX_DiscardUnknown

func (m *SyncRequest_Options) XXX_DiscardUnknown()

func (*SyncRequest_Options) XXX_Marshal

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

func (*SyncRequest_Options) XXX_Merge

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

func (*SyncRequest_Options) XXX_Size

func (m *SyncRequest_Options) XXX_Size() int

func (*SyncRequest_Options) XXX_Unmarshal

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

type SyncRequest_OptionsValidationError

type SyncRequest_OptionsValidationError struct {
	// contains filtered or unexported fields
}

SyncRequest_OptionsValidationError is the validation error returned by SyncRequest_Options.Validate if the designated constraints aren't met.

func (SyncRequest_OptionsValidationError) Cause

Cause function returns cause value.

func (SyncRequest_OptionsValidationError) Error

Error satisfies the builtin error interface

func (SyncRequest_OptionsValidationError) ErrorName

ErrorName returns error name.

func (SyncRequest_OptionsValidationError) Field

Field function returns field value.

func (SyncRequest_OptionsValidationError) Key

Key function returns key value.

func (SyncRequest_OptionsValidationError) Reason

Reason function returns reason value.

type SyncResponse

type SyncResponse struct {
	Inserted int64  `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"`
	Updated  int64  `protobuf:"varint,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Deleted  int64  `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Elapsed  string `protobuf:"bytes,4,opt,name=elapsed,proto3" json:"elapsed,omitempty"`
}

func (*SyncResponse) Descriptor

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

func (*SyncResponse) GetDeleted

func (m *SyncResponse) GetDeleted() int64

func (*SyncResponse) GetElapsed

func (m *SyncResponse) GetElapsed() string

func (*SyncResponse) GetInserted

func (m *SyncResponse) GetInserted() int64

func (*SyncResponse) GetUpdated

func (m *SyncResponse) GetUpdated() int64

func (*SyncResponse) ProtoMessage

func (*SyncResponse) ProtoMessage()

func (*SyncResponse) Reset

func (m *SyncResponse) Reset()

func (*SyncResponse) String

func (m *SyncResponse) String() string

func (*SyncResponse) Validate

func (m *SyncResponse) Validate() error

Validate checks the field values on SyncResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SyncResponse) XXX_DiscardUnknown

func (m *SyncResponse) XXX_DiscardUnknown()

func (*SyncResponse) XXX_Marshal

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

func (*SyncResponse) XXX_Merge

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

func (*SyncResponse) XXX_Size

func (m *SyncResponse) XXX_Size() int

func (*SyncResponse) XXX_Unmarshal

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

type SyncResponseValidationError

type SyncResponseValidationError struct {
	// contains filtered or unexported fields
}

SyncResponseValidationError is the validation error returned by SyncResponse.Validate if the designated constraints aren't met.

func (SyncResponseValidationError) Cause

Cause function returns cause value.

func (SyncResponseValidationError) Error

Error satisfies the builtin error interface

func (SyncResponseValidationError) ErrorName

func (e SyncResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SyncResponseValidationError) Field

Field function returns field value.

func (SyncResponseValidationError) Key

Key function returns key value.

func (SyncResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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