Documentation ¶
Index ¶
Constants ¶
View Source
const ( //DefaultSenderIndex = 0 RouterKeyName = "router_key_name" RouterMatchType = "router_match_type" //RouterRoutesMap = "router_routes" //RouterMatchValue = "router_match_value" //RouterSenderIndex = "router_sender_index" RouterDefaultIndex = "router_default_sender" MTypeEqualName = "equal" MTypeContainsName = "contains" )
Variables ¶
View Source
var MatchTypeRegistry = map[string]MatchType{}
Functions ¶
func GetRouterMatchTypeUsage ¶
func GetRouterMatchTypeUsage() KeyValueSlice
func GetRouterOption ¶
func GetRouterOption() []Option
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewSenderRouter ¶
func NewSenderRouter(conf RouterConfig, senderCnt int) (*Router, error)
func (*Router) GetSenderIndex ¶
Click to show internal directories.
Click to hide internal directories.