Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityLogConfiguration ¶ added in v1.28.0
type JsonBody ¶
type JsonBody struct {
Collection string `json:"collection"`
Reference string `json:"reference"`
Condition interface{} `json:"condition"`
Data interface{} `json:"data"`
Projection interface{} `json:"projection"`
ArrayFilter interface{} `json:"arrayFilter"`
Sort interface{} `json:"sort"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Timezone string `json:"timezone"`
Atomicity bool `json:"atomicity"`
Duplicate *bool `json:"duplicate"`
Multi *bool `json:"multi"`
Replacement *bool `json:"replacement"`
UpdateFilter interface{} `json:"updateFilter"`
FindOne *bool `json:"findone"`
IsInsert *bool `json:"isInsert"`
AggregatePipeline interface{} `json:"aggregatePipeline"`
DateKey []string `json:"dateKey"`
}
Jsonbody struct is to handle Json body request
type JsonCreateBody ¶
type JsonCreateBody struct {
Collection string `json:"collection" example:"collectionName"`
Condition interface{} `json:"condition"`
Data interface{} `json:"data"`
Atomicity bool `json:"atomicity"`
Duplicate *bool `json:"duplicate"`
}
use swag json create body (create)
type JsonLogBody ¶
type JsonLogBody struct {
Level string `json:"level"`
Message interface{} `json:"message"`
App_id string `json:"app_id"`
App_name string `json:"app_name"`
}
Jsonbody struct is to handle Json body request
type JsonLogResponseEror ¶
type JsonLogResponseEror struct {
StatusCode interface{} `json:"statusCode"` // string -> int
Message string `json:"message"`
Results interface{} `json:"results"`
}
type JsonReadbody ¶
type JsonReadbody struct {
Collection string `json:"collection" example:"collectionName"`
Condition interface{} `json:"condition"`
Projection interface{} `json:"projection"`
Sort interface{} `json:"sort"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Timezone string `json:"timezone" example:"+0700"`
}
type JsonResponse ¶
type JsonService ¶
type JsonService struct {
Collection string `json:"collection"`
Reference string `json:"reference"`
Condition interface{} `json:"condition"`
Data interface{} `json:"data"`
Projection interface{} `json:"projection"`
ArrayFilter interface{} `json:"arrayFilter"`
Sort interface{} `json:"sort"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Timezone string `json:"timezone"`
Atomicity bool `json:"atomicity"`
Duplicate bool `json:"duplicate"`
Multi bool `json:"multi"`
Replacement bool `json:"replacement"`
UpdateFilter interface{} `json:"updateFilter"`
FindOne bool `json:"findone"`
IsInsert bool `json:"isInsert"`
AggregatePipeline interface{} `json:"aggregatePipeline"`
DateKey []string `json:"dateKey"`
}
Jsonbody to service
type LogConfiguration ¶
type LogrusField ¶
type ValidateResponse ¶
Click to show internal directories.
Click to hide internal directories.