Documentation ¶
Index ¶
- Constants
- func GetPagingFromGlobalState(globalState cptype.GlobalStateData) (pageNo int, pageSize int)
- func GetSortsFromGlobalState(globalState cptype.GlobalStateData) []*common.Sort
- func SetFilterToGlobalState(globalState cptype.GlobalStateData, opData ErrorTransactionFilter)
- func SetPagingToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangePageClientData)
- func SetSortsToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangeSortClientData)
- type ErrorTransactionFilter
- type ErrorTransactionInParams
- func (b *ErrorTransactionInParams) CustomInParamsPtr() interface{}
- func (b *ErrorTransactionInParams) DecodeToCustomInParams(stdInParamsPtr *cptype.ExtraMap, customInParamsPtr interface{})
- func (b *ErrorTransactionInParams) EncodeFromCustomInParams(customInParamsPtr interface{}, stdInParamsPtr *cptype.ExtraMap)
- type Model
Constants ¶
View Source
const ( ColumnOccurTime table.ColumnKey = "occurTime" ColumnDuration table.ColumnKey = "duration" ColumnTraceId table.ColumnKey = "traceId" )
View Source
const ( StateKeyTransactionDurationFilter = "error_transaction_filter_duration" StateKeyTransactionPaging = "error_transaction_paging" StateKeyTransactionSort = "error_transaction_sort" )
Variables ¶
This section is empty.
Functions ¶
func GetPagingFromGlobalState ¶
func GetPagingFromGlobalState(globalState cptype.GlobalStateData) (pageNo int, pageSize int)
func GetSortsFromGlobalState ¶
func GetSortsFromGlobalState(globalState cptype.GlobalStateData) []*common.Sort
func SetFilterToGlobalState ¶
func SetFilterToGlobalState(globalState cptype.GlobalStateData, opData ErrorTransactionFilter)
func SetPagingToGlobalState ¶
func SetPagingToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangePageClientData)
func SetSortsToGlobalState ¶
func SetSortsToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangeSortClientData)
Types ¶
type ErrorTransactionFilter ¶
type ErrorTransactionFilter struct { MinDuration float64 `json:"minDuration"` MaxDuration float64 `json:"maxDuration"` }
func GetFilterFromGlobalState ¶
func GetFilterFromGlobalState(globalState cptype.GlobalStateData) ErrorTransactionFilter
type ErrorTransactionInParams ¶
type ErrorTransactionInParams struct {
InParamsPtr *Model
}
func (*ErrorTransactionInParams) CustomInParamsPtr ¶
func (b *ErrorTransactionInParams) CustomInParamsPtr() interface{}
func (*ErrorTransactionInParams) DecodeToCustomInParams ¶
func (b *ErrorTransactionInParams) DecodeToCustomInParams(stdInParamsPtr *cptype.ExtraMap, customInParamsPtr interface{})
func (*ErrorTransactionInParams) EncodeFromCustomInParams ¶
func (b *ErrorTransactionInParams) EncodeFromCustomInParams(customInParamsPtr interface{}, stdInParamsPtr *cptype.ExtraMap)
Click to show internal directories.
Click to hide internal directories.