Documentation
¶
Index ¶
- func MatchFeedbackTypeExpressions(exprs []FeedbackTypeExpression, feedbackType string, value float64) bool
- type ExprType
- type FeedbackTypeExpression
- func (f *FeedbackTypeExpression) FromPB(pb *protocol.FeedbackTypeExpression)
- func (f *FeedbackTypeExpression) FromString(data string) error
- func (f *FeedbackTypeExpression) MarshalJSON() ([]byte, error)
- func (f *FeedbackTypeExpression) Match(feedbackType string, value float64) bool
- func (f *FeedbackTypeExpression) String() string
- func (f *FeedbackTypeExpression) ToPB() *protocol.FeedbackTypeExpression
- func (f *FeedbackTypeExpression) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchFeedbackTypeExpressions ¶
func MatchFeedbackTypeExpressions(exprs []FeedbackTypeExpression, feedbackType string, value float64) bool
Types ¶
type FeedbackTypeExpression ¶
func MustParseFeedbackTypeExpression ¶
func MustParseFeedbackTypeExpression(s string) FeedbackTypeExpression
func (*FeedbackTypeExpression) FromPB ¶
func (f *FeedbackTypeExpression) FromPB(pb *protocol.FeedbackTypeExpression)
func (*FeedbackTypeExpression) FromString ¶
func (f *FeedbackTypeExpression) FromString(data string) error
func (*FeedbackTypeExpression) MarshalJSON ¶
func (f *FeedbackTypeExpression) MarshalJSON() ([]byte, error)
func (*FeedbackTypeExpression) Match ¶
func (f *FeedbackTypeExpression) Match(feedbackType string, value float64) bool
func (*FeedbackTypeExpression) String ¶
func (f *FeedbackTypeExpression) String() string
func (*FeedbackTypeExpression) ToPB ¶
func (f *FeedbackTypeExpression) ToPB() *protocol.FeedbackTypeExpression
func (*FeedbackTypeExpression) UnmarshalJSON ¶
func (f *FeedbackTypeExpression) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.