Documentation ¶
Index ¶
- Variables
- func RegisterAuthoritativeHiddenSegmentLookupServiceServer(s *grpc.Server, srv AuthoritativeHiddenSegmentLookupServiceServer)
- func RegisterHiddenSegmentLookupServiceServer(s *grpc.Server, srv HiddenSegmentLookupServiceServer)
- func RegisterHiddenSegmentRegistrationServiceServer(s *grpc.Server, srv HiddenSegmentRegistrationServiceServer)
- type AuthoritativeHiddenSegmentLookupServiceClient
- type AuthoritativeHiddenSegmentLookupServiceServer
- type AuthoritativeHiddenSegmentsRequest
- func (*AuthoritativeHiddenSegmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthoritativeHiddenSegmentsRequest) GetSignedRequest() *crypto.SignedMessage
- func (*AuthoritativeHiddenSegmentsRequest) ProtoMessage()
- func (x *AuthoritativeHiddenSegmentsRequest) ProtoReflect() protoreflect.Message
- func (x *AuthoritativeHiddenSegmentsRequest) Reset()
- func (x *AuthoritativeHiddenSegmentsRequest) String() string
- type AuthoritativeHiddenSegmentsResponse
- func (*AuthoritativeHiddenSegmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthoritativeHiddenSegmentsResponse) GetSegments() map[int32]*Segments
- func (*AuthoritativeHiddenSegmentsResponse) ProtoMessage()
- func (x *AuthoritativeHiddenSegmentsResponse) ProtoReflect() protoreflect.Message
- func (x *AuthoritativeHiddenSegmentsResponse) Reset()
- func (x *AuthoritativeHiddenSegmentsResponse) String() string
- type HiddenSegmentLookupServiceClient
- type HiddenSegmentLookupServiceServer
- type HiddenSegmentRegistrationRequest
- func (*HiddenSegmentRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentRegistrationRequest) GetSignedRequest() *crypto.SignedMessage
- func (*HiddenSegmentRegistrationRequest) ProtoMessage()
- func (x *HiddenSegmentRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentRegistrationRequest) Reset()
- func (x *HiddenSegmentRegistrationRequest) String() string
- type HiddenSegmentRegistrationRequestBody
- func (*HiddenSegmentRegistrationRequestBody) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentRegistrationRequestBody) GetGroupId() uint64
- func (x *HiddenSegmentRegistrationRequestBody) GetSegments() map[int32]*Segments
- func (*HiddenSegmentRegistrationRequestBody) ProtoMessage()
- func (x *HiddenSegmentRegistrationRequestBody) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentRegistrationRequestBody) Reset()
- func (x *HiddenSegmentRegistrationRequestBody) String() string
- type HiddenSegmentRegistrationResponse
- func (*HiddenSegmentRegistrationResponse) Descriptor() ([]byte, []int)deprecated
- func (*HiddenSegmentRegistrationResponse) ProtoMessage()
- func (x *HiddenSegmentRegistrationResponse) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentRegistrationResponse) Reset()
- func (x *HiddenSegmentRegistrationResponse) String() string
- type HiddenSegmentRegistrationServiceClient
- type HiddenSegmentRegistrationServiceServer
- type HiddenSegmentsRequest
- func (*HiddenSegmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentsRequest) GetDstIsdAs() uint64
- func (x *HiddenSegmentsRequest) GetGroupIds() []uint64
- func (*HiddenSegmentsRequest) ProtoMessage()
- func (x *HiddenSegmentsRequest) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentsRequest) Reset()
- func (x *HiddenSegmentsRequest) String() string
- type HiddenSegmentsResponse
- func (*HiddenSegmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentsResponse) GetSegments() map[int32]*Segments
- func (*HiddenSegmentsResponse) ProtoMessage()
- func (x *HiddenSegmentsResponse) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentsResponse) Reset()
- func (x *HiddenSegmentsResponse) String() string
- type Segments
- type UnimplementedAuthoritativeHiddenSegmentLookupServiceServer
- type UnimplementedHiddenSegmentLookupServiceServer
- type UnimplementedHiddenSegmentRegistrationServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterAuthoritativeHiddenSegmentLookupServiceServer ¶
func RegisterAuthoritativeHiddenSegmentLookupServiceServer(s *grpc.Server, srv AuthoritativeHiddenSegmentLookupServiceServer)
func RegisterHiddenSegmentLookupServiceServer ¶
func RegisterHiddenSegmentLookupServiceServer(s *grpc.Server, srv HiddenSegmentLookupServiceServer)
func RegisterHiddenSegmentRegistrationServiceServer ¶
func RegisterHiddenSegmentRegistrationServiceServer(s *grpc.Server, srv HiddenSegmentRegistrationServiceServer)
Types ¶
type AuthoritativeHiddenSegmentLookupServiceClient ¶
type AuthoritativeHiddenSegmentLookupServiceClient interface {
AuthoritativeHiddenSegments(ctx context.Context, in *AuthoritativeHiddenSegmentsRequest, opts ...grpc.CallOption) (*AuthoritativeHiddenSegmentsResponse, error)
}
AuthoritativeHiddenSegmentLookupServiceClient is the client API for AuthoritativeHiddenSegmentLookupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthoritativeHiddenSegmentLookupServiceClient ¶
func NewAuthoritativeHiddenSegmentLookupServiceClient(cc grpc.ClientConnInterface) AuthoritativeHiddenSegmentLookupServiceClient
type AuthoritativeHiddenSegmentLookupServiceServer ¶
type AuthoritativeHiddenSegmentLookupServiceServer interface {
AuthoritativeHiddenSegments(context.Context, *AuthoritativeHiddenSegmentsRequest) (*AuthoritativeHiddenSegmentsResponse, error)
}
AuthoritativeHiddenSegmentLookupServiceServer is the server API for AuthoritativeHiddenSegmentLookupService service.
type AuthoritativeHiddenSegmentsRequest ¶
type AuthoritativeHiddenSegmentsRequest struct { SignedRequest *crypto.SignedMessage `protobuf:"bytes,1,opt,name=signed_request,json=signedRequest,proto3" json:"signed_request,omitempty"` // contains filtered or unexported fields }
func (*AuthoritativeHiddenSegmentsRequest) Descriptor
deprecated
func (*AuthoritativeHiddenSegmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthoritativeHiddenSegmentsRequest.ProtoReflect.Descriptor instead.
func (*AuthoritativeHiddenSegmentsRequest) GetSignedRequest ¶
func (x *AuthoritativeHiddenSegmentsRequest) GetSignedRequest() *crypto.SignedMessage
func (*AuthoritativeHiddenSegmentsRequest) ProtoMessage ¶
func (*AuthoritativeHiddenSegmentsRequest) ProtoMessage()
func (*AuthoritativeHiddenSegmentsRequest) ProtoReflect ¶
func (x *AuthoritativeHiddenSegmentsRequest) ProtoReflect() protoreflect.Message
func (*AuthoritativeHiddenSegmentsRequest) Reset ¶
func (x *AuthoritativeHiddenSegmentsRequest) Reset()
func (*AuthoritativeHiddenSegmentsRequest) String ¶
func (x *AuthoritativeHiddenSegmentsRequest) String() string
type AuthoritativeHiddenSegmentsResponse ¶
type AuthoritativeHiddenSegmentsResponse struct { Segments map[int32]*Segments `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AuthoritativeHiddenSegmentsResponse) Descriptor
deprecated
func (*AuthoritativeHiddenSegmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthoritativeHiddenSegmentsResponse.ProtoReflect.Descriptor instead.
func (*AuthoritativeHiddenSegmentsResponse) GetSegments ¶
func (x *AuthoritativeHiddenSegmentsResponse) GetSegments() map[int32]*Segments
func (*AuthoritativeHiddenSegmentsResponse) ProtoMessage ¶
func (*AuthoritativeHiddenSegmentsResponse) ProtoMessage()
func (*AuthoritativeHiddenSegmentsResponse) ProtoReflect ¶
func (x *AuthoritativeHiddenSegmentsResponse) ProtoReflect() protoreflect.Message
func (*AuthoritativeHiddenSegmentsResponse) Reset ¶
func (x *AuthoritativeHiddenSegmentsResponse) Reset()
func (*AuthoritativeHiddenSegmentsResponse) String ¶
func (x *AuthoritativeHiddenSegmentsResponse) String() string
type HiddenSegmentLookupServiceClient ¶
type HiddenSegmentLookupServiceClient interface {
HiddenSegments(ctx context.Context, in *HiddenSegmentsRequest, opts ...grpc.CallOption) (*HiddenSegmentsResponse, error)
}
HiddenSegmentLookupServiceClient is the client API for HiddenSegmentLookupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHiddenSegmentLookupServiceClient ¶
func NewHiddenSegmentLookupServiceClient(cc grpc.ClientConnInterface) HiddenSegmentLookupServiceClient
type HiddenSegmentLookupServiceServer ¶
type HiddenSegmentLookupServiceServer interface {
HiddenSegments(context.Context, *HiddenSegmentsRequest) (*HiddenSegmentsResponse, error)
}
HiddenSegmentLookupServiceServer is the server API for HiddenSegmentLookupService service.
type HiddenSegmentRegistrationRequest ¶
type HiddenSegmentRegistrationRequest struct { SignedRequest *crypto.SignedMessage `protobuf:"bytes,1,opt,name=signed_request,json=signedRequest,proto3" json:"signed_request,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentRegistrationRequest) Descriptor
deprecated
func (*HiddenSegmentRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentRegistrationRequest.ProtoReflect.Descriptor instead.
func (*HiddenSegmentRegistrationRequest) GetSignedRequest ¶
func (x *HiddenSegmentRegistrationRequest) GetSignedRequest() *crypto.SignedMessage
func (*HiddenSegmentRegistrationRequest) ProtoMessage ¶
func (*HiddenSegmentRegistrationRequest) ProtoMessage()
func (*HiddenSegmentRegistrationRequest) ProtoReflect ¶
func (x *HiddenSegmentRegistrationRequest) ProtoReflect() protoreflect.Message
func (*HiddenSegmentRegistrationRequest) Reset ¶
func (x *HiddenSegmentRegistrationRequest) Reset()
func (*HiddenSegmentRegistrationRequest) String ¶
func (x *HiddenSegmentRegistrationRequest) String() string
type HiddenSegmentRegistrationRequestBody ¶
type HiddenSegmentRegistrationRequestBody struct { Segments map[int32]*Segments `` /* 158-byte string literal not displayed */ GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentRegistrationRequestBody) Descriptor
deprecated
func (*HiddenSegmentRegistrationRequestBody) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentRegistrationRequestBody.ProtoReflect.Descriptor instead.
func (*HiddenSegmentRegistrationRequestBody) GetGroupId ¶
func (x *HiddenSegmentRegistrationRequestBody) GetGroupId() uint64
func (*HiddenSegmentRegistrationRequestBody) GetSegments ¶
func (x *HiddenSegmentRegistrationRequestBody) GetSegments() map[int32]*Segments
func (*HiddenSegmentRegistrationRequestBody) ProtoMessage ¶
func (*HiddenSegmentRegistrationRequestBody) ProtoMessage()
func (*HiddenSegmentRegistrationRequestBody) ProtoReflect ¶
func (x *HiddenSegmentRegistrationRequestBody) ProtoReflect() protoreflect.Message
func (*HiddenSegmentRegistrationRequestBody) Reset ¶
func (x *HiddenSegmentRegistrationRequestBody) Reset()
func (*HiddenSegmentRegistrationRequestBody) String ¶
func (x *HiddenSegmentRegistrationRequestBody) String() string
type HiddenSegmentRegistrationResponse ¶
type HiddenSegmentRegistrationResponse struct {
// contains filtered or unexported fields
}
func (*HiddenSegmentRegistrationResponse) Descriptor
deprecated
func (*HiddenSegmentRegistrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentRegistrationResponse.ProtoReflect.Descriptor instead.
func (*HiddenSegmentRegistrationResponse) ProtoMessage ¶
func (*HiddenSegmentRegistrationResponse) ProtoMessage()
func (*HiddenSegmentRegistrationResponse) ProtoReflect ¶
func (x *HiddenSegmentRegistrationResponse) ProtoReflect() protoreflect.Message
func (*HiddenSegmentRegistrationResponse) Reset ¶
func (x *HiddenSegmentRegistrationResponse) Reset()
func (*HiddenSegmentRegistrationResponse) String ¶
func (x *HiddenSegmentRegistrationResponse) String() string
type HiddenSegmentRegistrationServiceClient ¶
type HiddenSegmentRegistrationServiceClient interface {
HiddenSegmentRegistration(ctx context.Context, in *HiddenSegmentRegistrationRequest, opts ...grpc.CallOption) (*HiddenSegmentRegistrationResponse, error)
}
HiddenSegmentRegistrationServiceClient is the client API for HiddenSegmentRegistrationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHiddenSegmentRegistrationServiceClient ¶
func NewHiddenSegmentRegistrationServiceClient(cc grpc.ClientConnInterface) HiddenSegmentRegistrationServiceClient
type HiddenSegmentRegistrationServiceServer ¶
type HiddenSegmentRegistrationServiceServer interface {
HiddenSegmentRegistration(context.Context, *HiddenSegmentRegistrationRequest) (*HiddenSegmentRegistrationResponse, error)
}
HiddenSegmentRegistrationServiceServer is the server API for HiddenSegmentRegistrationService service.
type HiddenSegmentsRequest ¶
type HiddenSegmentsRequest struct { GroupIds []uint64 `protobuf:"varint,1,rep,packed,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` DstIsdAs uint64 `protobuf:"varint,2,opt,name=dst_isd_as,json=dstIsdAs,proto3" json:"dst_isd_as,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentsRequest) Descriptor
deprecated
func (*HiddenSegmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentsRequest.ProtoReflect.Descriptor instead.
func (*HiddenSegmentsRequest) GetDstIsdAs ¶
func (x *HiddenSegmentsRequest) GetDstIsdAs() uint64
func (*HiddenSegmentsRequest) GetGroupIds ¶
func (x *HiddenSegmentsRequest) GetGroupIds() []uint64
func (*HiddenSegmentsRequest) ProtoMessage ¶
func (*HiddenSegmentsRequest) ProtoMessage()
func (*HiddenSegmentsRequest) ProtoReflect ¶
func (x *HiddenSegmentsRequest) ProtoReflect() protoreflect.Message
func (*HiddenSegmentsRequest) Reset ¶
func (x *HiddenSegmentsRequest) Reset()
func (*HiddenSegmentsRequest) String ¶
func (x *HiddenSegmentsRequest) String() string
type HiddenSegmentsResponse ¶
type HiddenSegmentsResponse struct { Segments map[int32]*Segments `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HiddenSegmentsResponse) Descriptor
deprecated
func (*HiddenSegmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentsResponse.ProtoReflect.Descriptor instead.
func (*HiddenSegmentsResponse) GetSegments ¶
func (x *HiddenSegmentsResponse) GetSegments() map[int32]*Segments
func (*HiddenSegmentsResponse) ProtoMessage ¶
func (*HiddenSegmentsResponse) ProtoMessage()
func (*HiddenSegmentsResponse) ProtoReflect ¶
func (x *HiddenSegmentsResponse) ProtoReflect() protoreflect.Message
func (*HiddenSegmentsResponse) Reset ¶
func (x *HiddenSegmentsResponse) Reset()
func (*HiddenSegmentsResponse) String ¶
func (x *HiddenSegmentsResponse) String() string
type Segments ¶
type Segments struct { Segments []*control_plane.PathSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
func (*Segments) Descriptor
deprecated
func (*Segments) GetSegments ¶
func (x *Segments) GetSegments() []*control_plane.PathSegment
func (*Segments) ProtoMessage ¶
func (*Segments) ProtoMessage()
func (*Segments) ProtoReflect ¶
func (x *Segments) ProtoReflect() protoreflect.Message
type UnimplementedAuthoritativeHiddenSegmentLookupServiceServer ¶
type UnimplementedAuthoritativeHiddenSegmentLookupServiceServer struct { }
UnimplementedAuthoritativeHiddenSegmentLookupServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthoritativeHiddenSegmentLookupServiceServer) AuthoritativeHiddenSegments ¶
func (*UnimplementedAuthoritativeHiddenSegmentLookupServiceServer) AuthoritativeHiddenSegments(context.Context, *AuthoritativeHiddenSegmentsRequest) (*AuthoritativeHiddenSegmentsResponse, error)
type UnimplementedHiddenSegmentLookupServiceServer ¶
type UnimplementedHiddenSegmentLookupServiceServer struct { }
UnimplementedHiddenSegmentLookupServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHiddenSegmentLookupServiceServer) HiddenSegments ¶
func (*UnimplementedHiddenSegmentLookupServiceServer) HiddenSegments(context.Context, *HiddenSegmentsRequest) (*HiddenSegmentsResponse, error)
type UnimplementedHiddenSegmentRegistrationServiceServer ¶
type UnimplementedHiddenSegmentRegistrationServiceServer struct { }
UnimplementedHiddenSegmentRegistrationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHiddenSegmentRegistrationServiceServer) HiddenSegmentRegistration ¶
func (*UnimplementedHiddenSegmentRegistrationServiceServer) HiddenSegmentRegistration(context.Context, *HiddenSegmentRegistrationRequest) (*HiddenSegmentRegistrationResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_hidden_segment is a generated GoMock package.
|
Package mock_hidden_segment is a generated GoMock package. |
v1
|
|