Documentation ¶
Index ¶
- func LoadTLSConfig(paths CertificatePaths) (*tls.Config, error)
- func ParseEscapedJSONQueryFromContext(c *gin.Context, key string) (bson.M, error)
- func ParseFilterQueryFromCtx(c *gin.Context) (bson.M, error)
- func ParseSortQueryFromCtx(c *gin.Context) (bson.M, error)
- func WriteRoutesToFile(router *gin.Engine, filename string)
- type CertificatePaths
- type PagenatedQuery
- type ResponseExportQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTLSConfig ¶
func LoadTLSConfig(paths CertificatePaths) (*tls.Config, error)
func WriteRoutesToFile ¶
Types ¶
type CertificatePaths ¶
type PagenatedQuery ¶
func ParsePaginatedQueryFromCtx ¶
func ParsePaginatedQueryFromCtx(c *gin.Context) (*PagenatedQuery, error)
type ResponseExportQuery ¶
type ResponseExportQuery struct { SurveyKey string UseShortKeys bool QuestionOptionSep string Format string IncludeMeta *surveyresponses.IncludeMeta PaginationInfos *PagenatedQuery }
func ParseResponseExportQueryFromCtx ¶
func ParseResponseExportQueryFromCtx(c *gin.Context) (*ResponseExportQuery, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.