Documentation ¶
Index ¶
- func CreateSentence(request *restful.Request, response *restful.Response)
- func FindSentence(request *restful.Request, response *restful.Response)
- func FindSentences(request *restful.Request, response *restful.Response)
- func FindSentencesByXPath(xpath string, fromID string) (sentences *model.Sentences)
- func FindTranslationSentences(request *restful.Request, response *restful.Response)
- func New(dao *dao.SentenceDao) *restful.WebService
- func SetStructure(request *restful.Request, response *restful.Response)
- func UpdateSentence(request *restful.Request, response *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSentence ¶
func CreateSentence(request *restful.Request, response *restful.Response)
func FindSentence ¶
func FindSentence(request *restful.Request, response *restful.Response)
FindSentence load sentence and return json representation
func FindSentences ¶
func FindSentences(request *restful.Request, response *restful.Response)
FindSentence load sentences and return json representation
func FindSentencesByXPath ¶
func FindTranslationSentences ¶
func FindTranslationSentences(request *restful.Request, response *restful.Response)
Find All translation sentences of a given pivot sentence
func SetStructure ¶
func SetStructure(request *restful.Request, response *restful.Response)
func UpdateSentence ¶
func UpdateSentence(request *restful.Request, response *restful.Response)
Update sentence
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.