pb

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventType_name = map[int32]string{
		0: "Completed",
		1: "Started",
		2: "Executing",
		3: "Failed",
	}
	EventType_value = map[string]int32{
		"Completed": 0,
		"Started":   1,
		"Executing": 2,
		"Failed":    3,
	}
)

Enum value maps for EventType.

View Source
var (
	ProtocolType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "SKG",
		2: "CKG",
		3: "RKG_1",
		4: "RKG",
		5: "RTG",
		6: "CKS",
		7: "DEC",
		8: "PCKS",
	}
	ProtocolType_value = map[string]int32{
		"UNSPECIFIED": 0,
		"SKG":         1,
		"CKG":         2,
		"RKG_1":       3,
		"RKG":         4,
		"RTG":         5,
		"CKS":         6,
		"DEC":         7,
		"PCKS":        8,
	}
)

Enum value maps for ProtocolType.

View Source
var (
	CiphertextType_name = map[int32]string{
		0: "UNSPECIFIED_CT_TYPE",
		1: "BFV",
		2: "BGV",
		3: "CKKS",
		4: "RGSW",
	}
	CiphertextType_value = map[string]int32{
		"UNSPECIFIED_CT_TYPE": 0,
		"BFV":                 1,
		"BGV":                 2,
		"CKKS":                3,
		"RGSW":                4,
	}
)

Enum value maps for CiphertextType.

View Source
var File_helium_proto protoreflect.FileDescriptor
View Source
var Helium_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "helium_proto.Helium",
	HandlerType: (*HeliumServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutShare",
			Handler:    _Helium_PutShare_Handler,
		},
		{
			MethodName: "GetAggregationOutput",
			Handler:    _Helium_GetAggregationOutput_Handler,
		},
		{
			MethodName: "GetCiphertext",
			Handler:    _Helium_GetCiphertext_Handler,
		},
		{
			MethodName: "PutCiphertext",
			Handler:    _Helium_PutCiphertext_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Register",
			Handler:       _Helium_Register_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "helium.proto",
}

Helium_ServiceDesc is the grpc.ServiceDesc for Helium service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHeliumServer

func RegisterHeliumServer(s grpc.ServiceRegistrar, srv HeliumServer)

Types

type AggregationOutput

type AggregationOutput struct {
	AggregatedShare *Share `protobuf:"bytes,1,opt,name=AggregatedShare,proto3" json:"AggregatedShare,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregationOutput) Descriptor deprecated

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

Deprecated: Use AggregationOutput.ProtoReflect.Descriptor instead.

func (*AggregationOutput) GetAggregatedShare

func (x *AggregationOutput) GetAggregatedShare() *Share

func (*AggregationOutput) ProtoMessage

func (*AggregationOutput) ProtoMessage()

func (*AggregationOutput) ProtoReflect

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

func (*AggregationOutput) Reset

func (x *AggregationOutput) Reset()

func (*AggregationOutput) String

func (x *AggregationOutput) String() string

type Ciphertext

type Ciphertext struct {
	Ciphertext []byte              `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	Metadata   *CiphertextMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Ciphertext) Descriptor deprecated

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

Deprecated: Use Ciphertext.ProtoReflect.Descriptor instead.

func (*Ciphertext) GetCiphertext

func (x *Ciphertext) GetCiphertext() []byte

func (*Ciphertext) GetMetadata

func (x *Ciphertext) GetMetadata() *CiphertextMetadata

func (*Ciphertext) ProtoMessage

func (*Ciphertext) ProtoMessage()

func (*Ciphertext) ProtoReflect

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

func (*Ciphertext) Reset

func (x *Ciphertext) Reset()

func (*Ciphertext) String

func (x *Ciphertext) String() string

type CiphertextID

type CiphertextID struct {
	CiphertextId string `protobuf:"bytes,1,opt,name=ciphertext_id,json=ciphertextId,proto3" json:"ciphertext_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CiphertextID) Descriptor deprecated

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

Deprecated: Use CiphertextID.ProtoReflect.Descriptor instead.

func (*CiphertextID) GetCiphertextId

func (x *CiphertextID) GetCiphertextId() string

func (*CiphertextID) ProtoMessage

func (*CiphertextID) ProtoMessage()

func (*CiphertextID) ProtoReflect

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

func (*CiphertextID) Reset

func (x *CiphertextID) Reset()

func (*CiphertextID) String

func (x *CiphertextID) String() string

type CiphertextMetadata

type CiphertextMetadata struct {
	Id   *CiphertextID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type *CiphertextType `protobuf:"varint,2,opt,name=type,proto3,enum=helium_proto.CiphertextType,oneof" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*CiphertextMetadata) Descriptor deprecated

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

Deprecated: Use CiphertextMetadata.ProtoReflect.Descriptor instead.

func (*CiphertextMetadata) GetId

func (x *CiphertextMetadata) GetId() *CiphertextID

func (*CiphertextMetadata) GetType

func (x *CiphertextMetadata) GetType() CiphertextType

func (*CiphertextMetadata) ProtoMessage

func (*CiphertextMetadata) ProtoMessage()

func (*CiphertextMetadata) ProtoReflect

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

func (*CiphertextMetadata) Reset

func (x *CiphertextMetadata) Reset()

func (*CiphertextMetadata) String

func (x *CiphertextMetadata) String() string

type CiphertextType

type CiphertextType int32
const (
	CiphertextType_UNSPECIFIED_CT_TYPE CiphertextType = 0
	CiphertextType_BFV                 CiphertextType = 1
	CiphertextType_BGV                 CiphertextType = 2
	CiphertextType_CKKS                CiphertextType = 3
	CiphertextType_RGSW                CiphertextType = 4
)

func (CiphertextType) Descriptor

func (CiphertextType) Enum

func (x CiphertextType) Enum() *CiphertextType

func (CiphertextType) EnumDescriptor deprecated

func (CiphertextType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CiphertextType.Descriptor instead.

func (CiphertextType) Number

func (CiphertextType) String

func (x CiphertextType) String() string

func (CiphertextType) Type

type CircuitDescriptor

type CircuitDescriptor struct {
	CircuitSignature *CircuitSignature  `protobuf:"bytes,1,opt,name=CircuitSignature,proto3" json:"CircuitSignature,omitempty"`
	CircuitID        *CircuitID         `protobuf:"bytes,2,opt,name=CircuitID,proto3" json:"CircuitID,omitempty"`
	NodeMapping      map[string]*NodeID `` /* 163-byte string literal not displayed */
	Evaluator        *NodeID            `protobuf:"bytes,4,opt,name=Evaluator,proto3" json:"Evaluator,omitempty"`
	// contains filtered or unexported fields
}

func (*CircuitDescriptor) Descriptor deprecated

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

Deprecated: Use CircuitDescriptor.ProtoReflect.Descriptor instead.

func (*CircuitDescriptor) GetCircuitID

func (x *CircuitDescriptor) GetCircuitID() *CircuitID

func (*CircuitDescriptor) GetCircuitSignature

func (x *CircuitDescriptor) GetCircuitSignature() *CircuitSignature

func (*CircuitDescriptor) GetEvaluator

func (x *CircuitDescriptor) GetEvaluator() *NodeID

func (*CircuitDescriptor) GetNodeMapping

func (x *CircuitDescriptor) GetNodeMapping() map[string]*NodeID

func (*CircuitDescriptor) ProtoMessage

func (*CircuitDescriptor) ProtoMessage()

func (*CircuitDescriptor) ProtoReflect

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

func (*CircuitDescriptor) Reset

func (x *CircuitDescriptor) Reset()

func (*CircuitDescriptor) String

func (x *CircuitDescriptor) String() string

type CircuitEvent

type CircuitEvent struct {
	Descriptor_ *CircuitDescriptor `protobuf:"bytes,1,opt,name=Descriptor,proto3" json:"Descriptor,omitempty"`
	Type        EventType          `protobuf:"varint,2,opt,name=Type,proto3,enum=helium_proto.EventType" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*CircuitEvent) Descriptor deprecated

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

Deprecated: Use CircuitEvent.ProtoReflect.Descriptor instead.

func (*CircuitEvent) GetDescriptor_

func (x *CircuitEvent) GetDescriptor_() *CircuitDescriptor

func (*CircuitEvent) GetType

func (x *CircuitEvent) GetType() EventType

func (*CircuitEvent) ProtoMessage

func (*CircuitEvent) ProtoMessage()

func (*CircuitEvent) ProtoReflect

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

func (*CircuitEvent) Reset

func (x *CircuitEvent) Reset()

func (*CircuitEvent) String

func (x *CircuitEvent) String() string

type CircuitID

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

func (*CircuitID) Descriptor deprecated

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

Deprecated: Use CircuitID.ProtoReflect.Descriptor instead.

func (*CircuitID) GetCircuitID

func (x *CircuitID) GetCircuitID() string

func (*CircuitID) ProtoMessage

func (*CircuitID) ProtoMessage()

func (*CircuitID) ProtoReflect

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

func (*CircuitID) Reset

func (x *CircuitID) Reset()

func (*CircuitID) String

func (x *CircuitID) String() string

type CircuitSignature

type CircuitSignature struct {
	Name string            `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Args map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CircuitSignature) Descriptor deprecated

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

Deprecated: Use CircuitSignature.ProtoReflect.Descriptor instead.

func (*CircuitSignature) GetArgs

func (x *CircuitSignature) GetArgs() map[string]string

func (*CircuitSignature) GetName

func (x *CircuitSignature) GetName() string

func (*CircuitSignature) ProtoMessage

func (*CircuitSignature) ProtoMessage()

func (*CircuitSignature) ProtoReflect

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

func (*CircuitSignature) Reset

func (x *CircuitSignature) Reset()

func (*CircuitSignature) String

func (x *CircuitSignature) String() string

type Event

type Event struct {
	ProtocolEvent *ProtocolEvent `protobuf:"bytes,1,opt,name=ProtocolEvent,proto3,oneof" json:"ProtocolEvent,omitempty"`
	CircuitEvent  *CircuitEvent  `protobuf:"bytes,2,opt,name=CircuitEvent,proto3,oneof" json:"CircuitEvent,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCircuitEvent

func (x *Event) GetCircuitEvent() *CircuitEvent

func (*Event) GetProtocolEvent

func (x *Event) GetProtocolEvent() *ProtocolEvent

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventType

type EventType int32
const (
	EventType_Completed EventType = 0
	EventType_Started   EventType = 1
	EventType_Executing EventType = 2
	EventType_Failed    EventType = 3
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type HeliumClient

type HeliumClient interface {
	// Register registers the caller as a peer node to the helium server
	Register(ctx context.Context, in *Void, opts ...grpc.CallOption) (Helium_RegisterClient, error)
	// PutShare pushes the caller's share in the protocol described by the Share.ShareDescriptor
	// field to the callee.
	PutShare(ctx context.Context, in *Share, opts ...grpc.CallOption) (*Void, error)
	// GetShare queries the aggregation output of the protocol described by PrototocolDescriptor
	GetAggregationOutput(ctx context.Context, in *ProtocolDescriptor, opts ...grpc.CallOption) (*AggregationOutput, error)
	// GetCiphertext queries the ciphertext with the given ID from the callee
	GetCiphertext(ctx context.Context, in *CiphertextID, opts ...grpc.CallOption) (*Ciphertext, error)
	// PutCiphertext pushes the ciphertext to the callee
	PutCiphertext(ctx context.Context, in *Ciphertext, opts ...grpc.CallOption) (*CiphertextID, error)
}

HeliumClient is the client API for Helium service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHeliumClient

func NewHeliumClient(cc grpc.ClientConnInterface) HeliumClient

type HeliumServer

type HeliumServer interface {
	// Register registers the caller as a peer node to the helium server
	Register(*Void, Helium_RegisterServer) error
	// PutShare pushes the caller's share in the protocol described by the Share.ShareDescriptor
	// field to the callee.
	PutShare(context.Context, *Share) (*Void, error)
	// GetShare queries the aggregation output of the protocol described by PrototocolDescriptor
	GetAggregationOutput(context.Context, *ProtocolDescriptor) (*AggregationOutput, error)
	// GetCiphertext queries the ciphertext with the given ID from the callee
	GetCiphertext(context.Context, *CiphertextID) (*Ciphertext, error)
	// PutCiphertext pushes the ciphertext to the callee
	PutCiphertext(context.Context, *Ciphertext) (*CiphertextID, error)
	// contains filtered or unexported methods
}

HeliumServer is the server API for Helium service. All implementations must embed UnimplementedHeliumServer for forward compatibility

type Helium_RegisterClient

type Helium_RegisterClient interface {
	Recv() (*Event, error)
	grpc.ClientStream
}

type Helium_RegisterServer

type Helium_RegisterServer interface {
	Send(*Event) error
	grpc.ServerStream
}

type NodeID

type NodeID struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeID) Descriptor deprecated

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

Deprecated: Use NodeID.ProtoReflect.Descriptor instead.

func (*NodeID) GetNodeId

func (x *NodeID) GetNodeId() string

func (*NodeID) ProtoMessage

func (*NodeID) ProtoMessage()

func (*NodeID) ProtoReflect

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

func (*NodeID) Reset

func (x *NodeID) Reset()

func (*NodeID) String

func (x *NodeID) String() string

type ProtocolDescriptor

type ProtocolDescriptor struct {
	ProtocolType ProtocolType      `protobuf:"varint,1,opt,name=ProtocolType,proto3,enum=helium_proto.ProtocolType" json:"ProtocolType,omitempty"`
	Args         map[string]string `` /* 149-byte string literal not displayed */
	Aggregator   *NodeID           `protobuf:"bytes,3,opt,name=Aggregator,proto3" json:"Aggregator,omitempty"`
	Participants []*NodeID         `protobuf:"bytes,4,rep,name=Participants,proto3" json:"Participants,omitempty"`
	Receivers    []*NodeID         `protobuf:"bytes,5,rep,name=Receivers,proto3" json:"Receivers,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolDescriptor) Descriptor deprecated

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

Deprecated: Use ProtocolDescriptor.ProtoReflect.Descriptor instead.

func (*ProtocolDescriptor) GetAggregator

func (x *ProtocolDescriptor) GetAggregator() *NodeID

func (*ProtocolDescriptor) GetArgs

func (x *ProtocolDescriptor) GetArgs() map[string]string

func (*ProtocolDescriptor) GetParticipants

func (x *ProtocolDescriptor) GetParticipants() []*NodeID

func (*ProtocolDescriptor) GetProtocolType

func (x *ProtocolDescriptor) GetProtocolType() ProtocolType

func (*ProtocolDescriptor) GetReceivers

func (x *ProtocolDescriptor) GetReceivers() []*NodeID

func (*ProtocolDescriptor) ProtoMessage

func (*ProtocolDescriptor) ProtoMessage()

func (*ProtocolDescriptor) ProtoReflect

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

func (*ProtocolDescriptor) Reset

func (x *ProtocolDescriptor) Reset()

func (*ProtocolDescriptor) String

func (x *ProtocolDescriptor) String() string

type ProtocolEvent

type ProtocolEvent struct {
	Descriptor_ *ProtocolDescriptor `protobuf:"bytes,1,opt,name=Descriptor,proto3" json:"Descriptor,omitempty"`
	Type        EventType           `protobuf:"varint,2,opt,name=Type,proto3,enum=helium_proto.EventType" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolEvent) Descriptor deprecated

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

Deprecated: Use ProtocolEvent.ProtoReflect.Descriptor instead.

func (*ProtocolEvent) GetDescriptor_

func (x *ProtocolEvent) GetDescriptor_() *ProtocolDescriptor

func (*ProtocolEvent) GetType

func (x *ProtocolEvent) GetType() EventType

func (*ProtocolEvent) ProtoMessage

func (*ProtocolEvent) ProtoMessage()

func (*ProtocolEvent) ProtoReflect

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

func (*ProtocolEvent) Reset

func (x *ProtocolEvent) Reset()

func (*ProtocolEvent) String

func (x *ProtocolEvent) String() string

type ProtocolID

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

func (*ProtocolID) Descriptor deprecated

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

Deprecated: Use ProtocolID.ProtoReflect.Descriptor instead.

func (*ProtocolID) GetProtocolID

func (x *ProtocolID) GetProtocolID() string

func (*ProtocolID) ProtoMessage

func (*ProtocolID) ProtoMessage()

func (*ProtocolID) ProtoReflect

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

func (*ProtocolID) Reset

func (x *ProtocolID) Reset()

func (*ProtocolID) String

func (x *ProtocolID) String() string

type ProtocolType

type ProtocolType int32
const (
	ProtocolType_UNSPECIFIED ProtocolType = 0
	ProtocolType_SKG         ProtocolType = 1 // secret-key generation
	ProtocolType_CKG         ProtocolType = 2 // public encryption-key generation
	ProtocolType_RKG_1       ProtocolType = 3 // first round of public relinearization-key generation
	ProtocolType_RKG         ProtocolType = 4 // second round of public relinearization-key generation
	ProtocolType_RTG         ProtocolType = 5 // public rotation-key generation
	ProtocolType_CKS         ProtocolType = 6 // collective switching to collective secret-key
	ProtocolType_DEC         ProtocolType = 7 // collective decryption
	ProtocolType_PCKS        ProtocolType = 8 // collective switching to known public-key
)

func (ProtocolType) Descriptor

func (ProtocolType) Enum

func (x ProtocolType) Enum() *ProtocolType

func (ProtocolType) EnumDescriptor deprecated

func (ProtocolType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProtocolType.Descriptor instead.

func (ProtocolType) Number

func (ProtocolType) String

func (x ProtocolType) String() string

func (ProtocolType) Type

type SessionID

type SessionID struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionID) Descriptor deprecated

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

Deprecated: Use SessionID.ProtoReflect.Descriptor instead.

func (*SessionID) GetSessionId

func (x *SessionID) GetSessionId() string

func (*SessionID) ProtoMessage

func (*SessionID) ProtoMessage()

func (*SessionID) ProtoReflect

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

func (*SessionID) Reset

func (x *SessionID) Reset()

func (*SessionID) String

func (x *SessionID) String() string

type Share

type Share struct {
	Metadata *ShareMetadata `protobuf:"bytes,1,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
	Share    []byte         `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

func (*Share) Descriptor deprecated

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

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetMetadata

func (x *Share) GetMetadata() *ShareMetadata

func (*Share) GetShare

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

func (*Share) ProtoMessage

func (*Share) ProtoMessage()

func (*Share) ProtoReflect

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

func (*Share) Reset

func (x *Share) Reset()

func (*Share) String

func (x *Share) String() string

type ShareMetadata

type ShareMetadata struct {
	ProtocolID   *ProtocolID  `protobuf:"bytes,1,opt,name=ProtocolID,proto3" json:"ProtocolID,omitempty"`
	ProtocolType ProtocolType `protobuf:"varint,2,opt,name=ProtocolType,proto3,enum=helium_proto.ProtocolType" json:"ProtocolType,omitempty"`
	AggregateFor []*NodeID    `protobuf:"bytes,3,rep,name=AggregateFor,proto3" json:"AggregateFor,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareMetadata) Descriptor deprecated

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

Deprecated: Use ShareMetadata.ProtoReflect.Descriptor instead.

func (*ShareMetadata) GetAggregateFor

func (x *ShareMetadata) GetAggregateFor() []*NodeID

func (*ShareMetadata) GetProtocolID

func (x *ShareMetadata) GetProtocolID() *ProtocolID

func (*ShareMetadata) GetProtocolType

func (x *ShareMetadata) GetProtocolType() ProtocolType

func (*ShareMetadata) ProtoMessage

func (*ShareMetadata) ProtoMessage()

func (*ShareMetadata) ProtoReflect

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

func (*ShareMetadata) Reset

func (x *ShareMetadata) Reset()

func (*ShareMetadata) String

func (x *ShareMetadata) String() string

type UnimplementedHeliumServer

type UnimplementedHeliumServer struct {
}

UnimplementedHeliumServer must be embedded to have forward compatible implementations.

func (UnimplementedHeliumServer) GetAggregationOutput

func (UnimplementedHeliumServer) GetCiphertext

func (UnimplementedHeliumServer) PutCiphertext

func (UnimplementedHeliumServer) PutShare

func (UnimplementedHeliumServer) Register

type UnsafeHeliumServer

type UnsafeHeliumServer interface {
	// contains filtered or unexported methods
}

UnsafeHeliumServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HeliumServer will result in compilation errors.

type Void

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

MESSAGE DEFINITIONS

The following messages have counterparts in the Go implementation of the Helium service. See the godoc for more information on these messages.

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect

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

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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