Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AndMatcher ¶
type AndMatcher struct {
// contains filtered or unexported fields
}
func And ¶
func And(matchers ...Matcher) *AndMatcher
func (*AndMatcher) Match ¶
func (m *AndMatcher) Match(v interface{}) bool
type ColumnData ¶
type ColumnData struct { Value string `json:"value"` RenderType string `json:"renderType,omitempty"` Tags []ColumnDataTag `json:"tags,omitempty"` Operations map[string]*Operation `json:"operations,omitempty"` }
type ColumnDataTag ¶
type ColumnTitle ¶
type FuncMatcher ¶
type FuncMatcher struct {
// contains filtered or unexported fields
}
func ToMatcher ¶
func ToMatcher(m Match) *FuncMatcher
func (*FuncMatcher) Match ¶
func (m *FuncMatcher) Match(v interface{}) bool
type NotMatcher ¶
type NotMatcher struct {
// contains filtered or unexported fields
}
func (*NotMatcher) Match ¶
func (m *NotMatcher) Match(v interface{}) bool
type Operation ¶
type Operation struct { Key string `json:"key"` Text string `json:"text,omitempty"` Reload bool `json:"reload"` // command vs meta Command *OperationCommand `json:"command,omitempty"` Meta map[string]string `json:"meta,omitempty"` ShowIndex int `json:"showIndex,omitempty"` Disabled bool `json:"disabled"` DisabledTip string `json:"disabledTip,omitempty"` Confirm string `json:"confirm,omitempty"` SuccessMsg string `json:"successMsg,omitempty"` }
type OperationCommand ¶
type Props ¶
type Props struct { ShowHeader *bool `json:"showHeader,omitempty"` ShowPagination *bool `json:"pagination,omitempty"` PageSizeOptions []string `json:"pageSizeOptions"` Columns []*ColumnTitle `json:"columns"` RowKey string `json:"rowKey"` ClassName string `json:"className"` Title string `json:"title"` Size string `json:"size"` Visible *bool `json:"visible,omitempty"` Bordered *bool `json:"bordered,omitempty"` RowSelection map[string]interface{} `json:"rowSelection"` RequestIgnore []string `json:"requestIgnore,omitempty"` }
Click to show internal directories.
Click to hide internal directories.