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 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
Click to show internal directories.
Click to hide internal directories.