module

package
v0.0.0-...-72c2bb7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthModuleservicer = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModuleservicer   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthPortmoduleservicer = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPortmoduleservicer   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterModuleServer

func RegisterModuleServer(s *grpc.Server, srv ModuleServer)

func RegisterPortModuleServer

func RegisterPortModuleServer(s *grpc.Server, srv PortModuleServer)

Types

type AnalyzeRequest

type AnalyzeRequest struct {
	UserContext          *prototypes.UserContext `protobuf:"bytes,1,opt,name=UserContext" json:"UserContext,omitempty"`
	Address              *prototypes.AddressData `protobuf:"bytes,2,opt,name=Address" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*AnalyzeRequest) Descriptor

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

func (*AnalyzeRequest) GetAddress

func (m *AnalyzeRequest) GetAddress() *prototypes.AddressData

func (*AnalyzeRequest) GetUserContext

func (m *AnalyzeRequest) GetUserContext() *prototypes.UserContext

func (*AnalyzeRequest) Marshal

func (m *AnalyzeRequest) Marshal() (dAtA []byte, err error)

func (*AnalyzeRequest) MarshalTo

func (m *AnalyzeRequest) MarshalTo(dAtA []byte) (int, error)

func (*AnalyzeRequest) ProtoMessage

func (*AnalyzeRequest) ProtoMessage()

func (*AnalyzeRequest) Reset

func (m *AnalyzeRequest) Reset()

func (*AnalyzeRequest) Size

func (m *AnalyzeRequest) Size() (n int)

func (*AnalyzeRequest) String

func (m *AnalyzeRequest) String() string

func (*AnalyzeRequest) Unmarshal

func (m *AnalyzeRequest) Unmarshal(dAtA []byte) error

func (*AnalyzeRequest) XXX_DiscardUnknown

func (m *AnalyzeRequest) XXX_DiscardUnknown()

func (*AnalyzeRequest) XXX_Marshal

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

func (*AnalyzeRequest) XXX_Merge

func (dst *AnalyzeRequest) XXX_Merge(src proto.Message)

func (*AnalyzeRequest) XXX_Size

func (m *AnalyzeRequest) XXX_Size() int

func (*AnalyzeRequest) XXX_Unmarshal

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

type AnalyzeWithPortsRequest

type AnalyzeWithPortsRequest struct {
	UserContext          *prototypes.UserContext `protobuf:"bytes,1,opt,name=UserContext" json:"UserContext,omitempty"`
	Address              *prototypes.AddressData `protobuf:"bytes,2,opt,name=Address" json:"Address,omitempty"`
	Ports                *prototypes.PortResults `protobuf:"bytes,3,opt,name=Ports" json:"Ports,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*AnalyzeWithPortsRequest) Descriptor

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

func (*AnalyzeWithPortsRequest) GetAddress

func (*AnalyzeWithPortsRequest) GetPorts

func (*AnalyzeWithPortsRequest) GetUserContext

func (m *AnalyzeWithPortsRequest) GetUserContext() *prototypes.UserContext

func (*AnalyzeWithPortsRequest) Marshal

func (m *AnalyzeWithPortsRequest) Marshal() (dAtA []byte, err error)

func (*AnalyzeWithPortsRequest) MarshalTo

func (m *AnalyzeWithPortsRequest) MarshalTo(dAtA []byte) (int, error)

func (*AnalyzeWithPortsRequest) ProtoMessage

func (*AnalyzeWithPortsRequest) ProtoMessage()

func (*AnalyzeWithPortsRequest) Reset

func (m *AnalyzeWithPortsRequest) Reset()

func (*AnalyzeWithPortsRequest) Size

func (m *AnalyzeWithPortsRequest) Size() (n int)

func (*AnalyzeWithPortsRequest) String

func (m *AnalyzeWithPortsRequest) String() string

func (*AnalyzeWithPortsRequest) Unmarshal

func (m *AnalyzeWithPortsRequest) Unmarshal(dAtA []byte) error

func (*AnalyzeWithPortsRequest) XXX_DiscardUnknown

func (m *AnalyzeWithPortsRequest) XXX_DiscardUnknown()

func (*AnalyzeWithPortsRequest) XXX_Marshal

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

func (*AnalyzeWithPortsRequest) XXX_Merge

func (dst *AnalyzeWithPortsRequest) XXX_Merge(src proto.Message)

func (*AnalyzeWithPortsRequest) XXX_Size

func (m *AnalyzeWithPortsRequest) XXX_Size() int

func (*AnalyzeWithPortsRequest) XXX_Unmarshal

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

type AnalyzedResponse

type AnalyzedResponse struct {
	Original             *prototypes.AddressData            `protobuf:"bytes,1,opt,name=Original" json:"Original,omitempty"`
	Addresses            map[string]*prototypes.AddressData `` /* 145-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*AnalyzedResponse) Descriptor

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

func (*AnalyzedResponse) GetAddresses

func (m *AnalyzedResponse) GetAddresses() map[string]*prototypes.AddressData

func (*AnalyzedResponse) GetOriginal

func (m *AnalyzedResponse) GetOriginal() *prototypes.AddressData

func (*AnalyzedResponse) Marshal

func (m *AnalyzedResponse) Marshal() (dAtA []byte, err error)

func (*AnalyzedResponse) MarshalTo

func (m *AnalyzedResponse) MarshalTo(dAtA []byte) (int, error)

func (*AnalyzedResponse) ProtoMessage

func (*AnalyzedResponse) ProtoMessage()

func (*AnalyzedResponse) Reset

func (m *AnalyzedResponse) Reset()

func (*AnalyzedResponse) Size

func (m *AnalyzedResponse) Size() (n int)

func (*AnalyzedResponse) String

func (m *AnalyzedResponse) String() string

func (*AnalyzedResponse) Unmarshal

func (m *AnalyzedResponse) Unmarshal(dAtA []byte) error

func (*AnalyzedResponse) XXX_DiscardUnknown

func (m *AnalyzedResponse) XXX_DiscardUnknown()

func (*AnalyzedResponse) XXX_Marshal

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

func (*AnalyzedResponse) XXX_Merge

func (dst *AnalyzedResponse) XXX_Merge(src proto.Message)

func (*AnalyzedResponse) XXX_Size

func (m *AnalyzedResponse) XXX_Size() int

func (*AnalyzedResponse) XXX_Unmarshal

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

type AnalyzedWithPortsResponse

type AnalyzedWithPortsResponse struct {
	Original             *prototypes.AddressData            `protobuf:"bytes,1,opt,name=Original" json:"Original,omitempty"`
	Addresses            map[string]*prototypes.AddressData `` /* 145-byte string literal not displayed */
	Results              *prototypes.Bag                    `protobuf:"bytes,3,opt,name=Results" json:"Results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*AnalyzedWithPortsResponse) Descriptor

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

func (*AnalyzedWithPortsResponse) GetAddresses

func (m *AnalyzedWithPortsResponse) GetAddresses() map[string]*prototypes.AddressData

func (*AnalyzedWithPortsResponse) GetOriginal

func (*AnalyzedWithPortsResponse) GetResults

func (m *AnalyzedWithPortsResponse) GetResults() *prototypes.Bag

func (*AnalyzedWithPortsResponse) Marshal

func (m *AnalyzedWithPortsResponse) Marshal() (dAtA []byte, err error)

func (*AnalyzedWithPortsResponse) MarshalTo

func (m *AnalyzedWithPortsResponse) MarshalTo(dAtA []byte) (int, error)

func (*AnalyzedWithPortsResponse) ProtoMessage

func (*AnalyzedWithPortsResponse) ProtoMessage()

func (*AnalyzedWithPortsResponse) Reset

func (m *AnalyzedWithPortsResponse) Reset()

func (*AnalyzedWithPortsResponse) Size

func (m *AnalyzedWithPortsResponse) Size() (n int)

func (*AnalyzedWithPortsResponse) String

func (m *AnalyzedWithPortsResponse) String() string

func (*AnalyzedWithPortsResponse) Unmarshal

func (m *AnalyzedWithPortsResponse) Unmarshal(dAtA []byte) error

func (*AnalyzedWithPortsResponse) XXX_DiscardUnknown

func (m *AnalyzedWithPortsResponse) XXX_DiscardUnknown()

func (*AnalyzedWithPortsResponse) XXX_Marshal

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

func (*AnalyzedWithPortsResponse) XXX_Merge

func (dst *AnalyzedWithPortsResponse) XXX_Merge(src proto.Message)

func (*AnalyzedWithPortsResponse) XXX_Size

func (m *AnalyzedWithPortsResponse) XXX_Size() int

func (*AnalyzedWithPortsResponse) XXX_Unmarshal

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

type ModuleClient

type ModuleClient interface {
	Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzedResponse, error)
}

ModuleClient is the client API for Module service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewModuleClient

func NewModuleClient(cc *grpc.ClientConn) ModuleClient

type ModuleServer

type ModuleServer interface {
	Analyze(context.Context, *AnalyzeRequest) (*AnalyzedResponse, error)
}

ModuleServer is the server API for Module service.

type PortModuleClient

type PortModuleClient interface {
	AnalyzeWithPorts(ctx context.Context, in *AnalyzeWithPortsRequest, opts ...grpc.CallOption) (*AnalyzedWithPortsResponse, error)
}

PortModuleClient is the client API for PortModule service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPortModuleClient

func NewPortModuleClient(cc *grpc.ClientConn) PortModuleClient

type PortModuleServer

type PortModuleServer interface {
	AnalyzeWithPorts(context.Context, *AnalyzeWithPortsRequest) (*AnalyzedWithPortsResponse, error)
}

PortModuleServer is the server API for PortModule service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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