tech

package
v0.0.0-...-c937b9e Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ParamId = "techId"

Variables

This section is empty.

Functions

This section is empty.

Types

type TargetTechEntity

type TargetTechEntity struct {
	Target string          `json:"target,omitempty" creating:"nonzero,bsonId"`
	Status tech.StatusType `json:"status,omitempty"`

	TechEntity `json:",inline"`
}

type TechEntity

type TechEntity struct {
	Categories *[]string `json:"categories,omitempty"`
	Name       *string   `json:"name,omitempty"`
	Version    *string   `json:"version,omitempty"`
	Confidence *int      `json:"confidence,omitempty"`
	Url        *string   `json:"url,omitempty" description:"url to technology"`
}

type TechService

type TechService struct {
	*services.BaseService
	// contains filtered or unexported fields
}

func New

func New(base *services.BaseService) *TechService

func (*TechService) Register

func (s *TechService) Register(container *restful.Container)

func (*TechService) TakeTech

func (s *TechService) TakeTech(fn func(*restful.Request,
	*restful.Response, *tech.TargetTech)) restful.RouteFunction

Jump to

Keyboard shortcuts

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