Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResult ¶ added in v0.0.4
type CollinsItem ¶
type DaemonResponse ¶
type DaemonResponse struct { R *Result Error string Base *BaseResult }
func (*DaemonResponse) GetResult ¶ added in v0.0.4
func (dr *DaemonResponse) GetResult() *Result
type Result ¶
type Result struct { *BaseResult `json:"-"` Keyword string `json:"k"` Pronounce map[string]string `json:"pron"` Paraphrase []string `json:"para"` Examples map[string][][]string `json:"eg"` Collins struct { Star int `json:"star"` ViaRank string `json:"rank"` AdditionalPattern string `json:"pat"` Items []*CollinsItem `json:"li"` } `json:"co"` }
func (*Result) Initialize ¶
func (r *Result) Initialize()
func (*Result) ToDaemonResponse ¶ added in v0.0.4
func (r *Result) ToDaemonResponse() *DaemonResponse
type RunInfo ¶ added in v0.0.6
type RunInfo struct { StartTime int64 PID int Port string ExeName string ExePath string Version string OS *pkg.OSInfo // contains filtered or unexported fields }
func (*RunInfo) SaveToFile ¶ added in v0.0.6
type TCPQuery ¶ added in v0.0.4
type TCPQuery struct { Action string B *BaseResult }
Click to show internal directories.
Click to hide internal directories.