Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SuperSet = wire.NewSet( detector.SuperSet, vulnerability.SuperSet, NewServer, )
SuperSet binds dependencies for RPC server
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is for backward compatibility
func NewServer ¶
func NewServer(detector detector.Operation, vulnClient vulnerability.Operation) *Server
NewServer is the factory method to return Server
func (*Server) Detect ¶
func (s *Server) Detect(_ context.Context, req *proto.OSDetectRequest) (res *proto.DetectResponse, err error)
Detect is for backward compatibility
Click to show internal directories.
Click to hide internal directories.