sentenceservice

package
v0.0.0-...-048cda6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 FindSentencesByXPath(xpath string, fromID string) (sentences *model.Sentences)

func FindTranslationSentences

func FindTranslationSentences(request *restful.Request, response *restful.Response)

Find All translation sentences of a given pivot sentence

func New

func New(dao *dao.SentenceDao) *restful.WebService

New initialization

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.

Jump to

Keyboard shortcuts

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