Documentation ¶
Index ¶
- Constants
- Variables
- type ApiMessage
- type DAO
- type EGroup
- type EPoll
- type EPollChannel
- type EPollDesign
- type EPollItem
- type EPollSettings
- type EQuestion
- type EQuestionAudio
- type EQuestionCardSorting
- type EQuestionClosed
- type EQuestionComparison
- type EQuestionCsi
- type EQuestionFirstClick
- type EQuestionMatrix
- type EQuestionMedia
- type EQuestionNps
- type EQuestionOpened
- type EQuestionOpinion
- type EQuestionPassword
- type EQuestionRanging
- type EQuestionRating
- type EQuestionSemanticDifferential
- type EQuestionSiteTest
- type EQuestionSlideshow
- type EQuestionTreeTesting
- type ERole
- type EScreenComplete
- type EScreenMain
- type EScreenWelcome
- type ESpace
- type EUser
- type FScreenComplete
- type FScreenMain
- type FScreenWelcome
Constants ¶
View Source
const SELECT_POLL_BY_ID = `` /* 591-byte string literal not displayed */
View Source
const SELECT_POLL_CHANNEL_BY_ID = `` /* 526-byte string literal not displayed */
View Source
const SELECT_POLL_DESIGN_BY_ID = `` /* 589-byte string literal not displayed */
View Source
const SELECT_POLL_ITEM_BY_ID = `` /* 5570-byte string literal not displayed */
View Source
const SELECT_POLL_SETTINGS_BY_ID = `` /* 607-byte string literal not displayed */
View Source
const SELECT_SCREEN_COMPLETE_BY_ID = `` /* 740-byte string literal not displayed */
View Source
const SELECT_SCREEN_WELCOME_BY_ID = `` /* 586-byte string literal not displayed */
Variables ¶
View Source
var Dummy = ApiMessage{ Code: fasthttp.StatusNotImplemented, Message: "dummy", }
Functions ¶
This section is empty.
Types ¶
type ApiMessage ¶
func (*ApiMessage) Marshal ¶
func (a *ApiMessage) Marshal() []byte
func (*ApiMessage) String ¶
func (a *ApiMessage) String() string
type DAO ¶
type DAO struct { EPoll *ePoll EPollChannel *ePollChannel EPollDesign *ePollDesign EPollSettings *ePollSettings FScreenMain *fScreenMain FScreenWelcome *fScreenWelcome FScreenComplete *fScreenComplete }
type EPoll ¶
type EPoll struct { Id int64 `json:"id"` SegmentId int64 `json:"segmentId"` UserId int64 `json:"userId"` FolderId *int64 `json:"folderId"` ExportSettingsId *int64 `json:"exportSettingsId"` Name string `json:"name"` Status string `json:"status"` Type string `json:"type"` Tags []string `json:"tags"` Favorite bool `json:"favorite"` InTrash bool `json:"inTrash"` CreatedAt time.Time `json:"createdAt"` AnswersCount int64 `json:"answersCount"` Owner EUser `json:"owner"` }
type EPollChannel ¶
type EPollChannel struct { Id int64 `json:"id"` PollId int64 `json:"pollId"` OneAnswerPerDevice bool `json:"oneAnswerPerDevice"` HashUniqueAnswer bool `json:"hashUniqueAnswer"` HashAnswerMax int `json:"hashAnswerMax"` Enabled bool `json:"enabled"` ShowShortCode bool `json:"showShortCode"` Code string `json:"code"` ShortCode string `json:"shortCode"` Type string `json:"type"` Name string `json:"name"` MaxAnswers *int `json:"maxAnswers"` StopTimestamp *time.Time `json:"stopTimestamp"` CompleteLink *string `json:"completeLink"` ScreenoutLink *string `json:"screenoutLink"` QuotafullLink *string `json:"quotafullLink"` Quotas []string `json:"quotas"` // TODO refactoring CustomId *string `json:"customId"` Debug bool `json:"debug"` }
func (*EPollChannel) Marshal ¶
func (e *EPollChannel) Marshal() []byte
func (*EPollChannel) String ¶
func (e *EPollChannel) String() string
type EPollDesign ¶
type EPollDesign struct { Id int64 `json:"id"` UserId *int64 `json:"userId"` Template bool `json:"template"` BackgroundMediaId *uuid.UUID `json:"backgroundMediaId"` LogoId *uuid.UUID `json:"logoId"` LogoEnabled bool `json:"logoEnabled"` Font string `json:"font"` ColorQuestion string `json:"colorQuestion"` ColorDescription string `json:"colorDescription"` ColorOptions string `json:"colorOptions"` ColorBackground string `json:"colorBackground"` ColorButtons string `json:"colorButtons"` ColorButtonsText string `json:"colorButtonsText"` ColorBottomPanel string `json:"colorBottomPanel"` ColorProgressBar string `json:"colorProgressBar"` ColorBackgroundTransparency string `json:"colorBackgroundTransparency"` }
func (*EPollDesign) Marshal ¶
func (e *EPollDesign) Marshal() []byte
func (*EPollDesign) String ¶
func (e *EPollDesign) String() string
type EPollItem ¶
type EPollItem struct { Id int64 `json:"id"` PollId int64 `json:"pollId"` Type *string `json:"type"` ShowType *string `json:"showType"` DefaultTransitionId *int64 `json:"defaultTransitionId"` DefaultScreenOut *bool `json:"defaultScreenOut"` ImageSizeType *string `json:"imageSizeType"` MediaLocationType *string `json:"mediaLocationType"` CustomShapeSetId *int64 `json:"customShapeSetId"` ShowLogic *string `json:"showLogic"` // TODO Media []string `json:"media"` Transitions []string `json:"transitions"` CustomShapeSet *string `json:"customShapeSet"` ShowLogicId *int64 `json:"showLogicId"` }
type EPollSettings ¶
type EPollSettings struct { Id int64 `json:"id"` DesignId int64 `json:"designId"` ProgressBarType string `json:"progressBarType"` QuestionAlignType string `json:"questionAlignType"` NotificationFrequency string `json:"notificationFrequency"` HorizontalScroll bool `json:"horizontalScroll"` Language string `json:"language"` ShuffleEnabled bool `json:"shuffleEnabled"` SinglePage bool `json:"singlePage"` ButtonText string `json:"buttonText"` ButtonNextDisabled bool `json:"buttonNextDisabled"` ButtonPrevEnabled bool `json:"buttonPrevEnabled"` ButtonResultEnabled bool `json:"buttonResultEnabled"` QuestionBackgroundEnabled bool `json:"questionBackgroundEnabled"` QuestionNumbersEnabled bool `json:"questionNumbersEnabled"` QuestionRequiredHighlight bool `json:"questionRequiredHighlight"` SessionTime int64 `json:"sessionTime"` SessionRestore bool `json:"sessionRestore"` SessionNumberShow bool `json:"sessionNumberShow"` RequiredParams []string `json:"requiredParams"` }
func (*EPollSettings) Marshal ¶
func (e *EPollSettings) Marshal() []byte
func (*EPollSettings) String ¶
func (e *EPollSettings) String() string
type EQuestion ¶
type EQuestion struct { Name map[string]interface{} `json:"name"` Description map[string]interface{} `json:"description"` ButtonText map[string]interface{} `json:"buttonText"` NotificationText map[string]interface{} `json:"notificationText"` CommentPlaceholder map[string]interface{} `json:"commentPlaceholder"` DuplicateId *int64 `json:"duplicateId"` DisplayIndex *string `json:"displayIndex"` Required *bool `json:"required"` NotificationEnabled *bool `json:"notificationEnabled"` CommentEnabled *bool `json:"commentEnabled"` HasAnswers *bool `json:"hasAnswers"` SystemName *string `json:"systemName"` Options []string `json:"options"` // TODO Parents []string `json:"parents"` // TODO }
type EQuestionAudio ¶
type EQuestionAudio struct {
MinListeningTime *int64 `json:"minListeningTime"`
}
type EQuestionCardSorting ¶
type EQuestionClosed ¶
type EQuestionClosed struct { OptionsIndexType *string `json:"optionsIndexType"` OptionsShowType *string `json:"optionsShowType"` OptionsSortAlphabetically *bool `json:"optionsSortAlphabetically"` OptionsShuffle *bool `json:"optionsShuffle"` OptionsHorizontal *bool `json:"optionsHorizontal"` OptionsMultipleSelect *bool `json:"optionsMultipleSelect"` OptionsMultipleSelectMin *int `json:"optionsMultipleSelectMin"` OptionsMultipleSelectMax *int `json:"optionsMultipleSelectMax"` }
type EQuestionComparison ¶
type EQuestionCsi ¶
type EQuestionCsi struct { RevertOptionsNumeration *bool `json:"revertOptionsNumeration"` ValueMax *int `json:"valueMax"` ValueSatisfactory *int `json:"valueSatisfactory"` StartFromOne *bool `json:"startFromOne"` GradientEnabled *bool `json:"gradientEnabled"` GradientColorLeft *string `json:"gradientColorLeft"` GradientColorRight *string `json:"gradientColorRight"` Shape *string `json:"shape"` CommentShowType *string `json:"commentShowType"` }
type EQuestionFirstClick ¶
type EQuestionFirstClick struct {
Hash *string `json:"hash"`
}
type EQuestionMatrix ¶
type EQuestionMatrix struct { OptionsShuffleType *string `json:"optionsShuffleType"` MatrixFormatType *string `json:"matrixFormatType"` MatrixRowNamesAlign *string `json:"matrixRowNamesAlign"` AnswerLimitType *string `json:"answerLimitType"` OptionsShuffle *bool `json:"optionsShuffle"` OptionsMultipleSelect *bool `json:"optionsMultipleSelect"` ShowAsClosed *bool `json:"showAsClosed"` AllRowsRequired *bool `json:"allRowsRequired"` ShowRowsSequentially *bool `json:"showRowsSequentially"` EnableImages *bool `json:"enableImages"` }
type EQuestionMedia ¶
type EQuestionMedia struct { OptionsShuffle *bool `json:"optionsShuffle"` OptionsMultipleSelect *bool `json:"optionsMultipleSelect"` OptionsMultipleSelectMin *int `json:"optionsMultipleSelectMin"` OptionsMultipleSelectMax *int `json:"optionsMultipleSelectMax"` OptionsIncreased *bool `json:"optionsIncreased"` OptionsFullScreenEnabled *bool `json:"optionsFullScreenEnabled"` OptionsLandscapeFormat *bool `json:"optionsLandscapeFormat"` OptionsSelectButtonDisabled *bool `json:"optionsSelectButtonDisabled"` }
type EQuestionNps ¶
type EQuestionNps struct { Neutral *int `json:"neutral"` Promoter *int `json:"promoter"` RevertOptionsNumeration *bool `json:"revertOptionsNumeration"` StartFromOne *bool `json:"startFromOne"` GradientEnabled *bool `json:"gradientEnabled"` GradientColorLeft *string `json:"gradientColorLeft"` GradientColorRight *string `json:"gradientColorRight"` Shape *string `json:"shape"` }
type EQuestionOpened ¶
type EQuestionOpened struct { OptionsMultipleSelectMin *int `json:"optionsMultipleSelectMin"` SequentialDisplay *bool `json:"sequentialDisplay"` Multiline *bool `json:"multiline"` HideTip *bool `json:"hideTip"` StringMinLength *int `json:"stringMinLength"` StringMaxLength *int `json:"stringMaxLength"` }
type EQuestionOpinion ¶
type EQuestionOpinion struct { EmotionScale *bool `json:"emotionScale"` GradientEnabled *bool `json:"gradientEnabled"` GradientColorLeft *string `json:"gradientColorLeft"` GradientColorRight *string `json:"gradientColorRight"` OptionsValueMin *int `json:"optionsValueMin"` OptionsValueMax *int `json:"optionsValueMax"` Shape *string `json:"shape"` }
type EQuestionPassword ¶
type EQuestionRanging ¶
type EQuestionRating ¶
type EQuestionRating struct { OptionsValueMin *int `json:"optionsValueMin"` OptionsValueMax *int `json:"optionsValueMax"` ShowOptionsNumeration *bool `json:"showOptionsNumeration"` RevertOptionsNumeration *bool `json:"revertOptionsNumeration"` StartFromOne *bool `json:"startFromOne"` GradientEnabled *bool `json:"gradientEnabled"` GradientColorLeft *string `json:"gradientColorLeft"` GradientColorRight *string `json:"gradientColorRight"` Color *string `json:"color"` Step *float64 `json:"step"` SectionCount *int `json:"sectionCount"` OptionInitialNumberValue *int `json:"optionInitialNumberValue"` OptionInitialInterestValue *int `json:"optionInitialInterestValue"` SubType *string `json:"subType"` SliderViewType *string `json:"sliderViewType"` Shape *string `json:"shape"` Scale map[string]interface{} `json:"scale"` }
type EQuestionSemanticDifferential ¶
type EQuestionSemanticDifferential struct { HideZero *bool `json:"hideZero"` ShowOptionsNumeration *bool `json:"showOptionsNumeration"` GradientEnabled *bool `json:"gradientEnabled"` Shape *string `json:"shape"` GradientColorLeft *bool `json:"gradientColorLeft"` GradientColorRight *bool `json:"gradientColorRight"` OptionsShuffle *bool `json:"optionsShuffle"` }
type EQuestionSiteTest ¶
type EQuestionSlideshow ¶
type EQuestionSlideshow struct {
ShowTime *int `json:"showTime"`
}
type EQuestionTreeTesting ¶
type EScreenComplete ¶
type EScreenComplete struct { Index *int `json:"index"` Name *string `json:"name"` ButtonText *string `json:"buttonText"` MyAnswerButtonText *string `json:"myAnswerButtonText"` Description *string `json:"description"` MyAnswerEnabled *bool `json:"myAnswerEnabled"` LinkInSameScreen *bool `json:"linkInSameScreen"` Link *string `json:"link"` LinkVk *string `json:"linkVk"` LinkTwitter *string `json:"linkTwitter"` LinkFacebook *string `json:"linkFacebook"` LinkTelegram *string `json:"linkTelegram"` LinkInstagram *string `json:"linkInstagram"` }
type EScreenMain ¶
type EScreenWelcome ¶
type EUser ¶
type EUser struct { Id int64 `json:"id"` Uuid uuid.UUID `json:"uuid"` SpaceId int64 `json:"spaceId"` Email string `json:"email"` Login *string `json:"login"` SberId *string `json:"sberId"` Department *string `json:"department"` Name *string `json:"name"` AvatarUrl *string `json:"avatarUrl"` Enabled bool `json:"enabled"` Language string `json:"language"` LastRequestAt time.Time `json:"lastRequestAt"` Space ESpace `json:"space"` Online bool `json:"online"` Roles []ERole `json:"roles"` }
type FScreenComplete ¶
type FScreenComplete struct { PollItem *EPollItem `json:"pollItem"` ScreenComplete *EScreenComplete `json:"screenComplete"` }
func (*FScreenComplete) Marshal ¶
func (e *FScreenComplete) Marshal() []byte
func (*FScreenComplete) String ¶
func (e *FScreenComplete) String() string
type FScreenMain ¶
type FScreenMain struct { PollItem *EPollItem `json:"pollItem"` ScreenMain *EScreenMain `json:"screenMain"` Group *EGroup `json:"group"` Question *EQuestion `json:"question"` QuestionAudio *EQuestionAudio `json:"questionAudio"` QuestionCardSorting *EQuestionCardSorting `json:"questionCardSorting"` QuestionClosed *EQuestionClosed `json:"questionClosed"` QuestionComparison *EQuestionComparison `json:"questionComparison"` QuestionCsi *EQuestionCsi `json:"questionCsi"` QuestionFirstClick *EQuestionFirstClick `json:"questionFirstClick"` QuestionMatrix *EQuestionMatrix `json:"questionMatrix"` QuestionMedia *EQuestionMedia `json:"questionMedia"` QuestionNps *EQuestionNps `json:"questionNps"` QuestionOpened *EQuestionOpened `json:"questionOpened"` QuestionOpinion *EQuestionOpinion `json:"questionOpinion"` QuestionPassword *EQuestionPassword `json:"questionPassword"` QuestionRanging *EQuestionRanging `json:"questionRanging"` QuestionRating *EQuestionRating `json:"questionRating"` QuestionSemanticDifferential *EQuestionSemanticDifferential `json:"questionSemanticDifferential"` QuestionSiteTest *EQuestionSiteTest `json:"questionSiteTest"` QuestionSlideshow *EQuestionSlideshow `json:"questionSlideshow"` QuestionTreeTesting *EQuestionTreeTesting `json:"questionTreeTesting"` }
func (*FScreenMain) Marshal ¶
func (e *FScreenMain) Marshal() []byte
func (*FScreenMain) String ¶
func (e *FScreenMain) String() string
type FScreenWelcome ¶
type FScreenWelcome struct { PollItem *EPollItem `json:"pollItem"` ScreenWelcome *EScreenWelcome `json:"screenWelcome"` }
func (*FScreenWelcome) Marshal ¶
func (e *FScreenWelcome) Marshal() []byte
func (*FScreenWelcome) String ¶
func (e *FScreenWelcome) String() string
Source Files ¶
- api_message.go
- dao.go
- e_group.go
- e_poll.go
- e_poll_channel.go
- e_poll_design.go
- e_poll_item.go
- e_poll_settings.go
- e_question.go
- e_question_audio.go
- e_question_card_sorting.go
- e_question_closed.go
- e_question_comparison.go
- e_question_csi.go
- e_question_first_click.go
- e_question_matrix.go
- e_question_media.go
- e_question_nps.go
- e_question_opened.go
- e_question_opinion.go
- e_question_password.go
- e_question_ranging.go
- e_question_rating.go
- e_question_semantic_differential.go
- e_question_site_atest.go
- e_question_slideshow.go
- e_question_tree_testing.go
- e_role.go
- e_screen_complete.go
- e_screen_main.go
- e_screen_welcome.go
- e_space.go
- e_user.go
- f_screen_complete.go
- f_screen_main.go
- f_screen_welcome.go
- queryer.go
Click to show internal directories.
Click to hide internal directories.