Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConsentEventServiceServer(s grpc.ServiceRegistrar, srv ConsentEventServiceServer)
- type AckConsentChangeEventRequest
- func (*AckConsentChangeEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AckConsentChangeEventRequest) GetAckInfo() *v1.AckInfo
- func (*AckConsentChangeEventRequest) ProtoMessage()
- func (x *AckConsentChangeEventRequest) ProtoReflect() protoreflect.Message
- func (x *AckConsentChangeEventRequest) Reset()
- func (x *AckConsentChangeEventRequest) String() string
- type AckConsentChangeEventResponse
- func (*AckConsentChangeEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AckConsentChangeEventResponse) GetAckStatus() *v1.AckStatus
- func (*AckConsentChangeEventResponse) ProtoMessage()
- func (x *AckConsentChangeEventResponse) ProtoReflect() protoreflect.Message
- func (x *AckConsentChangeEventResponse) Reset()
- func (x *AckConsentChangeEventResponse) String() string
- type ConsentAdded
- type ConsentChangeEvent
- func (*ConsentChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentChangeEvent) GetAdded() *ConsentAdded
- func (x *ConsentChangeEvent) GetNumber() *v11.E164
- func (x *ConsentChangeEvent) GetRevoked() *ConsentRevoked
- func (m *ConsentChangeEvent) GetTarget() isConsentChangeEvent_Target
- func (x *ConsentChangeEvent) GetTenant() string
- func (m *ConsentChangeEvent) GetType() isConsentChangeEvent_Type
- func (x *ConsentChangeEvent) GetUpdated() *ConsentUpdated
- func (*ConsentChangeEvent) ProtoMessage()
- func (x *ConsentChangeEvent) ProtoReflect() protoreflect.Message
- func (x *ConsentChangeEvent) Reset()
- func (x *ConsentChangeEvent) String() string
- type ConsentChangeEvent_Added
- type ConsentChangeEvent_Number
- type ConsentChangeEvent_Revoked
- type ConsentChangeEvent_Tenant
- type ConsentChangeEvent_Updated
- type ConsentEventServiceClient
- type ConsentEventServiceServer
- type ConsentEventService_StreamConsentChangeEventsClient
- type ConsentEventService_StreamConsentChangeEventsServer
- type ConsentRevoked
- type ConsentUpdated
- type StreamConsentChangeEventsRequest
- func (*StreamConsentChangeEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamConsentChangeEventsRequest) GetStreamConfiguration() *v1.StreamConfiguration
- func (*StreamConsentChangeEventsRequest) ProtoMessage()
- func (x *StreamConsentChangeEventsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamConsentChangeEventsRequest) Reset()
- func (x *StreamConsentChangeEventsRequest) String() string
- type StreamConsentChangeEventsResponse
- func (*StreamConsentChangeEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamConsentChangeEventsResponse) GetConsentChangeEvent() *ConsentChangeEvent
- func (x *StreamConsentChangeEventsResponse) GetMetadata() *v1.Metadata
- func (*StreamConsentChangeEventsResponse) ProtoMessage()
- func (x *StreamConsentChangeEventsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamConsentChangeEventsResponse) Reset()
- func (x *StreamConsentChangeEventsResponse) String() string
- type UnimplementedConsentEventServiceServer
- type UnsafeConsentEventServiceServer
Constants ¶
const ( ConsentEventService_StreamConsentChangeEvents_FullMethodName = "/wgtwo.consents.v1.ConsentEventService/StreamConsentChangeEvents" ConsentEventService_AckConsentChangeEvent_FullMethodName = "/wgtwo.consents.v1.ConsentEventService/AckConsentChangeEvent" )
Variables ¶
var ConsentEventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.consents.v1.ConsentEventService", HandlerType: (*ConsentEventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AckConsentChangeEvent", Handler: _ConsentEventService_AckConsentChangeEvent_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamConsentChangeEvents", Handler: _ConsentEventService_StreamConsentChangeEvents_Handler, ServerStreams: true, }, }, Metadata: "wgtwo/consents/v1/consent_events.proto", }
ConsentEventService_ServiceDesc is the grpc.ServiceDesc for ConsentEventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_wgtwo_consents_v1_consent_events_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConsentEventServiceServer ¶
func RegisterConsentEventServiceServer(s grpc.ServiceRegistrar, srv ConsentEventServiceServer)
Types ¶
type AckConsentChangeEventRequest ¶
type AckConsentChangeEventRequest struct { AckInfo *v1.AckInfo `protobuf:"bytes,1,opt,name=ack_info,json=ackInfo,proto3" json:"ack_info,omitempty"` // contains filtered or unexported fields }
func (*AckConsentChangeEventRequest) Descriptor
deprecated
func (*AckConsentChangeEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckConsentChangeEventRequest.ProtoReflect.Descriptor instead.
func (*AckConsentChangeEventRequest) GetAckInfo ¶
func (x *AckConsentChangeEventRequest) GetAckInfo() *v1.AckInfo
func (*AckConsentChangeEventRequest) ProtoMessage ¶
func (*AckConsentChangeEventRequest) ProtoMessage()
func (*AckConsentChangeEventRequest) ProtoReflect ¶
func (x *AckConsentChangeEventRequest) ProtoReflect() protoreflect.Message
func (*AckConsentChangeEventRequest) Reset ¶
func (x *AckConsentChangeEventRequest) Reset()
func (*AckConsentChangeEventRequest) String ¶
func (x *AckConsentChangeEventRequest) String() string
type AckConsentChangeEventResponse ¶
type AckConsentChangeEventResponse struct { AckStatus *v1.AckStatus `protobuf:"bytes,1,opt,name=ack_status,json=ackStatus,proto3" json:"ack_status,omitempty"` // contains filtered or unexported fields }
func (*AckConsentChangeEventResponse) Descriptor
deprecated
func (*AckConsentChangeEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckConsentChangeEventResponse.ProtoReflect.Descriptor instead.
func (*AckConsentChangeEventResponse) GetAckStatus ¶
func (x *AckConsentChangeEventResponse) GetAckStatus() *v1.AckStatus
func (*AckConsentChangeEventResponse) ProtoMessage ¶
func (*AckConsentChangeEventResponse) ProtoMessage()
func (*AckConsentChangeEventResponse) ProtoReflect ¶
func (x *AckConsentChangeEventResponse) ProtoReflect() protoreflect.Message
func (*AckConsentChangeEventResponse) Reset ¶
func (x *AckConsentChangeEventResponse) Reset()
func (*AckConsentChangeEventResponse) String ¶
func (x *AckConsentChangeEventResponse) String() string
type ConsentAdded ¶
type ConsentAdded struct { Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*ConsentAdded) Descriptor
deprecated
func (*ConsentAdded) Descriptor() ([]byte, []int)
Deprecated: Use ConsentAdded.ProtoReflect.Descriptor instead.
func (*ConsentAdded) GetScopes ¶
func (x *ConsentAdded) GetScopes() []string
func (*ConsentAdded) ProtoMessage ¶
func (*ConsentAdded) ProtoMessage()
func (*ConsentAdded) ProtoReflect ¶
func (x *ConsentAdded) ProtoReflect() protoreflect.Message
func (*ConsentAdded) Reset ¶
func (x *ConsentAdded) Reset()
func (*ConsentAdded) String ¶
func (x *ConsentAdded) String() string
type ConsentChangeEvent ¶
type ConsentChangeEvent struct { // Types that are assignable to Type: // // *ConsentChangeEvent_Added // *ConsentChangeEvent_Updated // *ConsentChangeEvent_Revoked Type isConsentChangeEvent_Type `protobuf_oneof:"type"` // Types that are assignable to Target: // // *ConsentChangeEvent_Number // *ConsentChangeEvent_Tenant Target isConsentChangeEvent_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
func (*ConsentChangeEvent) Descriptor
deprecated
func (*ConsentChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use ConsentChangeEvent.ProtoReflect.Descriptor instead.
func (*ConsentChangeEvent) GetAdded ¶
func (x *ConsentChangeEvent) GetAdded() *ConsentAdded
func (*ConsentChangeEvent) GetNumber ¶
func (x *ConsentChangeEvent) GetNumber() *v11.E164
func (*ConsentChangeEvent) GetRevoked ¶
func (x *ConsentChangeEvent) GetRevoked() *ConsentRevoked
func (*ConsentChangeEvent) GetTarget ¶
func (m *ConsentChangeEvent) GetTarget() isConsentChangeEvent_Target
func (*ConsentChangeEvent) GetTenant ¶
func (x *ConsentChangeEvent) GetTenant() string
func (*ConsentChangeEvent) GetType ¶
func (m *ConsentChangeEvent) GetType() isConsentChangeEvent_Type
func (*ConsentChangeEvent) GetUpdated ¶
func (x *ConsentChangeEvent) GetUpdated() *ConsentUpdated
func (*ConsentChangeEvent) ProtoMessage ¶
func (*ConsentChangeEvent) ProtoMessage()
func (*ConsentChangeEvent) ProtoReflect ¶
func (x *ConsentChangeEvent) ProtoReflect() protoreflect.Message
func (*ConsentChangeEvent) Reset ¶
func (x *ConsentChangeEvent) Reset()
func (*ConsentChangeEvent) String ¶
func (x *ConsentChangeEvent) String() string
type ConsentChangeEvent_Added ¶
type ConsentChangeEvent_Added struct {
Added *ConsentAdded `protobuf:"bytes,1,opt,name=added,proto3,oneof"`
}
type ConsentChangeEvent_Revoked ¶
type ConsentChangeEvent_Revoked struct {
Revoked *ConsentRevoked `protobuf:"bytes,3,opt,name=revoked,proto3,oneof"`
}
type ConsentChangeEvent_Tenant ¶
type ConsentChangeEvent_Tenant struct {
Tenant string `protobuf:"bytes,5,opt,name=tenant,proto3,oneof"`
}
type ConsentChangeEvent_Updated ¶
type ConsentChangeEvent_Updated struct {
Updated *ConsentUpdated `protobuf:"bytes,2,opt,name=updated,proto3,oneof"`
}
type ConsentEventServiceClient ¶
type ConsentEventServiceClient interface { StreamConsentChangeEvents(ctx context.Context, in *StreamConsentChangeEventsRequest, opts ...grpc.CallOption) (ConsentEventService_StreamConsentChangeEventsClient, error) AckConsentChangeEvent(ctx context.Context, in *AckConsentChangeEventRequest, opts ...grpc.CallOption) (*AckConsentChangeEventResponse, error) }
ConsentEventServiceClient is the client API for ConsentEventService 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 NewConsentEventServiceClient ¶
func NewConsentEventServiceClient(cc grpc.ClientConnInterface) ConsentEventServiceClient
type ConsentEventServiceServer ¶
type ConsentEventServiceServer interface { StreamConsentChangeEvents(*StreamConsentChangeEventsRequest, ConsentEventService_StreamConsentChangeEventsServer) error AckConsentChangeEvent(context.Context, *AckConsentChangeEventRequest) (*AckConsentChangeEventResponse, error) }
ConsentEventServiceServer is the server API for ConsentEventService service. All implementations should embed UnimplementedConsentEventServiceServer for forward compatibility
type ConsentEventService_StreamConsentChangeEventsClient ¶
type ConsentEventService_StreamConsentChangeEventsClient interface { Recv() (*StreamConsentChangeEventsResponse, error) grpc.ClientStream }
type ConsentEventService_StreamConsentChangeEventsServer ¶
type ConsentEventService_StreamConsentChangeEventsServer interface { Send(*StreamConsentChangeEventsResponse) error grpc.ServerStream }
type ConsentRevoked ¶
type ConsentRevoked struct {
// contains filtered or unexported fields
}
func (*ConsentRevoked) Descriptor
deprecated
func (*ConsentRevoked) Descriptor() ([]byte, []int)
Deprecated: Use ConsentRevoked.ProtoReflect.Descriptor instead.
func (*ConsentRevoked) ProtoMessage ¶
func (*ConsentRevoked) ProtoMessage()
func (*ConsentRevoked) ProtoReflect ¶
func (x *ConsentRevoked) ProtoReflect() protoreflect.Message
func (*ConsentRevoked) Reset ¶
func (x *ConsentRevoked) Reset()
func (*ConsentRevoked) String ¶
func (x *ConsentRevoked) String() string
type ConsentUpdated ¶
type ConsentUpdated struct { Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*ConsentUpdated) Descriptor
deprecated
func (*ConsentUpdated) Descriptor() ([]byte, []int)
Deprecated: Use ConsentUpdated.ProtoReflect.Descriptor instead.
func (*ConsentUpdated) GetScopes ¶
func (x *ConsentUpdated) GetScopes() []string
func (*ConsentUpdated) ProtoMessage ¶
func (*ConsentUpdated) ProtoMessage()
func (*ConsentUpdated) ProtoReflect ¶
func (x *ConsentUpdated) ProtoReflect() protoreflect.Message
func (*ConsentUpdated) Reset ¶
func (x *ConsentUpdated) Reset()
func (*ConsentUpdated) String ¶
func (x *ConsentUpdated) String() string
type StreamConsentChangeEventsRequest ¶
type StreamConsentChangeEventsRequest struct { StreamConfiguration *v1.StreamConfiguration `protobuf:"bytes,1,opt,name=stream_configuration,json=streamConfiguration,proto3" json:"stream_configuration,omitempty"` // contains filtered or unexported fields }
func (*StreamConsentChangeEventsRequest) Descriptor
deprecated
func (*StreamConsentChangeEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamConsentChangeEventsRequest.ProtoReflect.Descriptor instead.
func (*StreamConsentChangeEventsRequest) GetStreamConfiguration ¶
func (x *StreamConsentChangeEventsRequest) GetStreamConfiguration() *v1.StreamConfiguration
func (*StreamConsentChangeEventsRequest) ProtoMessage ¶
func (*StreamConsentChangeEventsRequest) ProtoMessage()
func (*StreamConsentChangeEventsRequest) ProtoReflect ¶
func (x *StreamConsentChangeEventsRequest) ProtoReflect() protoreflect.Message
func (*StreamConsentChangeEventsRequest) Reset ¶
func (x *StreamConsentChangeEventsRequest) Reset()
func (*StreamConsentChangeEventsRequest) String ¶
func (x *StreamConsentChangeEventsRequest) String() string
type StreamConsentChangeEventsResponse ¶
type StreamConsentChangeEventsResponse struct { Metadata *v1.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` ConsentChangeEvent *ConsentChangeEvent `protobuf:"bytes,2,opt,name=consent_change_event,json=consentChangeEvent,proto3" json:"consent_change_event,omitempty"` // contains filtered or unexported fields }
func (*StreamConsentChangeEventsResponse) Descriptor
deprecated
func (*StreamConsentChangeEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamConsentChangeEventsResponse.ProtoReflect.Descriptor instead.
func (*StreamConsentChangeEventsResponse) GetConsentChangeEvent ¶
func (x *StreamConsentChangeEventsResponse) GetConsentChangeEvent() *ConsentChangeEvent
func (*StreamConsentChangeEventsResponse) GetMetadata ¶
func (x *StreamConsentChangeEventsResponse) GetMetadata() *v1.Metadata
func (*StreamConsentChangeEventsResponse) ProtoMessage ¶
func (*StreamConsentChangeEventsResponse) ProtoMessage()
func (*StreamConsentChangeEventsResponse) ProtoReflect ¶
func (x *StreamConsentChangeEventsResponse) ProtoReflect() protoreflect.Message
func (*StreamConsentChangeEventsResponse) Reset ¶
func (x *StreamConsentChangeEventsResponse) Reset()
func (*StreamConsentChangeEventsResponse) String ¶
func (x *StreamConsentChangeEventsResponse) String() string
type UnimplementedConsentEventServiceServer ¶
type UnimplementedConsentEventServiceServer struct { }
UnimplementedConsentEventServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedConsentEventServiceServer) AckConsentChangeEvent ¶
func (UnimplementedConsentEventServiceServer) AckConsentChangeEvent(context.Context, *AckConsentChangeEventRequest) (*AckConsentChangeEventResponse, error)
func (UnimplementedConsentEventServiceServer) StreamConsentChangeEvents ¶
func (UnimplementedConsentEventServiceServer) StreamConsentChangeEvents(*StreamConsentChangeEventsRequest, ConsentEventService_StreamConsentChangeEventsServer) error
type UnsafeConsentEventServiceServer ¶
type UnsafeConsentEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConsentEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsentEventServiceServer will result in compilation errors.