Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultVersion Service = "v1.0.0" DefaultSchema = "goroc" DefaultConfigSchema = "configroc" )
View Source
const ( DefaultHeaderTrace Header = "X-Idempotency-Key" DefaultHeaderVersion = "X-Api-Version" DefaultHeaderToken = "X-Api-Token" DefaultHeaderAddress = "X-Api-Address" )
View Source
const ( WatcherCreate WatcherAction = "create" WatcherUpdate = "update" WatcherDelete = "delete" )
Variables ¶
This section is empty.
Functions ¶
func SplicingConfigPrefix ¶
SplicingConfigPrefix is splicing config prefix Schema default is DefaultConfigSchema
func SplicingPrefix ¶
SplicingPrefix is splicing service address Schema default is DefaultSchema. eg. goroc
Types ¶
type RequestChannel ¶
type RequestChannel = string
type Scope ¶
type Scope = string
func SplicingScope ¶
SplicingScope is the service name/version. eg.srv.hello/version name or version don't allowed none
type WatcherAction ¶
type WatcherAction string
Click to show internal directories.
Click to hide internal directories.