Documentation ¶
Overview ¶
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Copyright (C) ITsysCOM GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>
Index ¶
Constants ¶
const ( CondEQ = "*eq" CondGT = "*gt" CondGTE = "*gte" CondLT = "*lt" CondLTE = "*lte" CondEXP = "*exp" CondOR = "*or" CondAND = "*and" CondNOT = "*not" CondHAS = "*has" CondRSR = "*rsr" )
Variables ¶
var (
ErrParserError = errors.New("PARSER_ERROR")
)
Functions ¶
func NewErrInvalidArgument ¶
func NewErrInvalidArgument(arg interface{}) error
Types ¶
type StructMatcher ¶
type StructMatcher struct {
// contains filtered or unexported fields
}
func NewStructMatcher ¶
func NewStructMatcher(q string) (sm *StructMatcher, err error)
func (*StructMatcher) Match ¶
func (sm *StructMatcher) Match(o interface{}) (bool, error)
func (*StructMatcher) Parse ¶
func (sm *StructMatcher) Parse(s string) (err error)