Documentation
¶
Index ¶
- Variables
- func RegisterAdsCertServer(s grpc.ServiceRegistrar, srv AdsCertServer)
- type AdsCertClient
- type AdsCertServer
- type AuthenticatedConnectionSignature
- func (*AuthenticatedConnectionSignature) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatedConnectionSignature) GetSignatures() []string
- func (*AuthenticatedConnectionSignature) ProtoMessage()
- func (x *AuthenticatedConnectionSignature) ProtoReflect() protoreflect.Message
- func (x *AuthenticatedConnectionSignature) Reset()
- func (x *AuthenticatedConnectionSignature) String() string
- type AuthenticatedConnectionSignatureParams
- func (*AuthenticatedConnectionSignatureParams) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatedConnectionSignatureParams) GetDestinationUrl() string
- func (x *AuthenticatedConnectionSignatureParams) GetRequestBody() []byte
- func (*AuthenticatedConnectionSignatureParams) ProtoMessage()
- func (x *AuthenticatedConnectionSignatureParams) ProtoReflect() protoreflect.Message
- func (x *AuthenticatedConnectionSignatureParams) Reset()
- func (x *AuthenticatedConnectionSignatureParams) String() string
- type AuthenticatedConnectionVerification
- func (*AuthenticatedConnectionVerification) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatedConnectionVerification) GetBodyValid() bool
- func (x *AuthenticatedConnectionVerification) GetUrlValid() bool
- func (*AuthenticatedConnectionVerification) ProtoMessage()
- func (x *AuthenticatedConnectionVerification) ProtoReflect() protoreflect.Message
- func (x *AuthenticatedConnectionVerification) Reset()
- func (x *AuthenticatedConnectionVerification) String() string
- type AuthenticatedConnectionVerificationParams
- func (*AuthenticatedConnectionVerificationParams) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatedConnectionVerificationParams) GetDestinationUrl() string
- func (x *AuthenticatedConnectionVerificationParams) GetRequestBody() []byte
- func (x *AuthenticatedConnectionVerificationParams) GetSignatures() []string
- func (*AuthenticatedConnectionVerificationParams) ProtoMessage()
- func (x *AuthenticatedConnectionVerificationParams) ProtoReflect() protoreflect.Message
- func (x *AuthenticatedConnectionVerificationParams) Reset()
- func (x *AuthenticatedConnectionVerificationParams) String() string
- type UnimplementedAdsCertServer
- func (UnimplementedAdsCertServer) SignAuthenticatedConnection(context.Context, *AuthenticatedConnectionSignatureParams) (*AuthenticatedConnectionSignature, error)
- func (UnimplementedAdsCertServer) VerifyAuthenticatedConnection(context.Context, *AuthenticatedConnectionVerificationParams) (*AuthenticatedConnectionVerification, error)
- type UnsafeAdsCertServer
Constants ¶
This section is empty.
Variables ¶
var AdsCert_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.AdsCert", HandlerType: (*AdsCertServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignAuthenticatedConnection", Handler: _AdsCert_SignAuthenticatedConnection_Handler, }, { MethodName: "VerifyAuthenticatedConnection", Handler: _AdsCert_VerifyAuthenticatedConnection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/adscert.proto", }
AdsCert_ServiceDesc is the grpc.ServiceDesc for AdsCert service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_adscert_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdsCertServer ¶
func RegisterAdsCertServer(s grpc.ServiceRegistrar, srv AdsCertServer)
Types ¶
type AdsCertClient ¶
type AdsCertClient interface { SignAuthenticatedConnection(ctx context.Context, in *AuthenticatedConnectionSignatureParams, opts ...grpc.CallOption) (*AuthenticatedConnectionSignature, error) VerifyAuthenticatedConnection(ctx context.Context, in *AuthenticatedConnectionVerificationParams, opts ...grpc.CallOption) (*AuthenticatedConnectionVerification, error) }
AdsCertClient is the client API for AdsCert 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 NewAdsCertClient ¶
func NewAdsCertClient(cc grpc.ClientConnInterface) AdsCertClient
type AdsCertServer ¶
type AdsCertServer interface { SignAuthenticatedConnection(context.Context, *AuthenticatedConnectionSignatureParams) (*AuthenticatedConnectionSignature, error) VerifyAuthenticatedConnection(context.Context, *AuthenticatedConnectionVerificationParams) (*AuthenticatedConnectionVerification, error) // contains filtered or unexported methods }
AdsCertServer is the server API for AdsCert service. All implementations must embed UnimplementedAdsCertServer for forward compatibility
type AuthenticatedConnectionSignature ¶
type AuthenticatedConnectionSignature struct { Signatures []string `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatedConnectionSignature) Descriptor
deprecated
func (*AuthenticatedConnectionSignature) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatedConnectionSignature.ProtoReflect.Descriptor instead.
func (*AuthenticatedConnectionSignature) GetSignatures ¶
func (x *AuthenticatedConnectionSignature) GetSignatures() []string
func (*AuthenticatedConnectionSignature) ProtoMessage ¶
func (*AuthenticatedConnectionSignature) ProtoMessage()
func (*AuthenticatedConnectionSignature) ProtoReflect ¶
func (x *AuthenticatedConnectionSignature) ProtoReflect() protoreflect.Message
func (*AuthenticatedConnectionSignature) Reset ¶
func (x *AuthenticatedConnectionSignature) Reset()
func (*AuthenticatedConnectionSignature) String ¶
func (x *AuthenticatedConnectionSignature) String() string
type AuthenticatedConnectionSignatureParams ¶
type AuthenticatedConnectionSignatureParams struct { DestinationUrl string `protobuf:"bytes,1,opt,name=destination_url,json=destinationUrl,proto3" json:"destination_url,omitempty"` RequestBody []byte `protobuf:"bytes,2,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatedConnectionSignatureParams) Descriptor
deprecated
func (*AuthenticatedConnectionSignatureParams) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatedConnectionSignatureParams.ProtoReflect.Descriptor instead.
func (*AuthenticatedConnectionSignatureParams) GetDestinationUrl ¶
func (x *AuthenticatedConnectionSignatureParams) GetDestinationUrl() string
func (*AuthenticatedConnectionSignatureParams) GetRequestBody ¶
func (x *AuthenticatedConnectionSignatureParams) GetRequestBody() []byte
func (*AuthenticatedConnectionSignatureParams) ProtoMessage ¶
func (*AuthenticatedConnectionSignatureParams) ProtoMessage()
func (*AuthenticatedConnectionSignatureParams) ProtoReflect ¶
func (x *AuthenticatedConnectionSignatureParams) ProtoReflect() protoreflect.Message
func (*AuthenticatedConnectionSignatureParams) Reset ¶
func (x *AuthenticatedConnectionSignatureParams) Reset()
func (*AuthenticatedConnectionSignatureParams) String ¶
func (x *AuthenticatedConnectionSignatureParams) String() string
type AuthenticatedConnectionVerification ¶
type AuthenticatedConnectionVerification struct { BodyValid bool `protobuf:"varint,1,opt,name=body_valid,json=bodyValid,proto3" json:"body_valid,omitempty"` UrlValid bool `protobuf:"varint,2,opt,name=url_valid,json=urlValid,proto3" json:"url_valid,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatedConnectionVerification) Descriptor
deprecated
func (*AuthenticatedConnectionVerification) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatedConnectionVerification.ProtoReflect.Descriptor instead.
func (*AuthenticatedConnectionVerification) GetBodyValid ¶
func (x *AuthenticatedConnectionVerification) GetBodyValid() bool
func (*AuthenticatedConnectionVerification) GetUrlValid ¶
func (x *AuthenticatedConnectionVerification) GetUrlValid() bool
func (*AuthenticatedConnectionVerification) ProtoMessage ¶
func (*AuthenticatedConnectionVerification) ProtoMessage()
func (*AuthenticatedConnectionVerification) ProtoReflect ¶
func (x *AuthenticatedConnectionVerification) ProtoReflect() protoreflect.Message
func (*AuthenticatedConnectionVerification) Reset ¶
func (x *AuthenticatedConnectionVerification) Reset()
func (*AuthenticatedConnectionVerification) String ¶
func (x *AuthenticatedConnectionVerification) String() string
type AuthenticatedConnectionVerificationParams ¶
type AuthenticatedConnectionVerificationParams struct { DestinationUrl string `protobuf:"bytes,1,opt,name=destination_url,json=destinationUrl,proto3" json:"destination_url,omitempty"` RequestBody []byte `protobuf:"bytes,2,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"` Signatures []string `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatedConnectionVerificationParams) Descriptor
deprecated
func (*AuthenticatedConnectionVerificationParams) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatedConnectionVerificationParams.ProtoReflect.Descriptor instead.
func (*AuthenticatedConnectionVerificationParams) GetDestinationUrl ¶
func (x *AuthenticatedConnectionVerificationParams) GetDestinationUrl() string
func (*AuthenticatedConnectionVerificationParams) GetRequestBody ¶
func (x *AuthenticatedConnectionVerificationParams) GetRequestBody() []byte
func (*AuthenticatedConnectionVerificationParams) GetSignatures ¶
func (x *AuthenticatedConnectionVerificationParams) GetSignatures() []string
func (*AuthenticatedConnectionVerificationParams) ProtoMessage ¶
func (*AuthenticatedConnectionVerificationParams) ProtoMessage()
func (*AuthenticatedConnectionVerificationParams) ProtoReflect ¶
func (x *AuthenticatedConnectionVerificationParams) ProtoReflect() protoreflect.Message
func (*AuthenticatedConnectionVerificationParams) Reset ¶
func (x *AuthenticatedConnectionVerificationParams) Reset()
func (*AuthenticatedConnectionVerificationParams) String ¶
func (x *AuthenticatedConnectionVerificationParams) String() string
type UnimplementedAdsCertServer ¶
type UnimplementedAdsCertServer struct { }
UnimplementedAdsCertServer must be embedded to have forward compatible implementations.
func (UnimplementedAdsCertServer) SignAuthenticatedConnection ¶
func (UnimplementedAdsCertServer) SignAuthenticatedConnection(context.Context, *AuthenticatedConnectionSignatureParams) (*AuthenticatedConnectionSignature, error)
func (UnimplementedAdsCertServer) VerifyAuthenticatedConnection ¶
func (UnimplementedAdsCertServer) VerifyAuthenticatedConnection(context.Context, *AuthenticatedConnectionVerificationParams) (*AuthenticatedConnectionVerification, error)
type UnsafeAdsCertServer ¶
type UnsafeAdsCertServer interface {
// contains filtered or unexported methods
}
UnsafeAdsCertServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdsCertServer will result in compilation errors.