Documentation ¶
Index ¶
Constants ¶
View Source
const ( Provider = "Provider" Consumer = "Consumer" )
constant for provider and consumer
View Source
const ( Env = "ServiceComb_ENV" EnvNodeIP = "HOSTING_SERVER_IP" EnvInstance = "instance_description.environment" EnvSchemaRoot = "SCHEMA_ROOT" EnvProjectID = "CSE_PROJECT_ID" )
constant for microservice environment parameters
View Source
const ( EnvValueDev = "development" EnvValueProd = "production" )
constant for environment stage
View Source
const ( SslCipherPluginKey = "cipherPlugin" SslVerifyPeerKey = "verifyPeer" SslCipherSuitsKey = "cipherSuits" SslProtocolKey = "protocol" SslCaFileKey = "caFile" SslCertFileKey = "certFile" SslKeyFileKey = "keyFile" SslCertPwdFileKey = "certPwdFile" AKSKCustomCipher = "cse.credentials.akskCustomCipher" )
constant for secure socket layer parameters
View Source
const ( ProtocolRest = "rest" ProtocolHighway = "highway" LBSessionID = "ServiceCombLB" )
constant for protocol types
View Source
const ( DefaultApp = "default" DefaultVersion = "0.0.1" )
constant for default application name and version
View Source
const ( HTTPS = "https" JSON = "application/json" Create = "CREATE" Update = "UPDATE" Delete = "DELETE" Size = "size" Client = "client" File = "File" SessionID = "sessionid" ContentTypeJSON = "application/json" DefaultTenant = "default" DefaultChainName = "default" RollingPolicySize = "size" FileRegistry = "File" DefaultUserName = "default" DefaultDomainName = "default" DefaultProvider = "default" )
constant used
View Source
const BuildinTagApp = "app"
BuildinTagApp build tag for the application
View Source
const BuildinTagVersion = "version"
BuildinTagVersion build tag version
View Source
const CallerKey = "caller"
CallerKey caller key
View Source
const DefaultKey = "default"
DefaultKey default key
View Source
const DefaultValue = "default"
DefaultValue default value
View Source
const (
// HeaderSourceName is constant for header source name
HeaderSourceName = "x-cse-src-microservice"
)
View Source
const (
TransportTCP = "tcp"
)
constant for transport tcp
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.