Documentation ¶
Index ¶
Constants ¶
View Source
const ( DESTINATIONS_FILE = "destinations.json" RATING_PLANS_FILE = "rating_plans.json" RATING_PROFILES_FILE = "rating_profiles.json" )
View Source
const ( JSON = "json" GOB = "gob" )
View Source
const ( RATING_PLAN_PREFIX = "rpl_" RATING_PROFILE_PREFIX = "rpf_" DESTINATION_PREFIX = "dst_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileScribe ¶
func NewFileScribe ¶
func NewFileScribe(fileRoot string, saveInterval time.Duration) (*FileScribe, error)
type MockScribe ¶
type MockScribe struct { sync.Mutex DestBuf bytes.Buffer RplBuf bytes.Buffer RpBuf bytes.Buffer // contains filtered or unexported fields }
func NewMockScribe ¶
func NewMockScribe() (*MockScribe, error)
type ProxyScribe ¶
func NewProxyScribe ¶
func NewProxyScribe(addr, encoding string) (*ProxyScribe, error)
Click to show internal directories.
Click to hide internal directories.