package
1.8.3
Repository: https://github.com/go-chassis/go-chassis.git
Documentation: pkg.go.dev

# Functions

FromContext return the headers which should be send to provider through transport.
GetXCSEContext get x-cse-context from req.header.
NewContext transforms a metadata to context object.
SetXCSEContext set value into x-cse-context.
WithContext sets the KV and returns the context object.

# Constants

constant for secure socket layer parameters.
constant for default application name and version.
BuildinLabelVersion build label for version.
BuildinTagApp build tag for the application.
BuildinTagVersion build tag version.
CallerKey caller key.
constant used.
constant for provider and consumer.
constant used.
constant environment keys service center, config center, monitor server addresses.
constant environment keys service center, config center, monitor server addresses.
constant for default application name and version.
constant used.
constant used.
constant for default application name and version.
DefaultKey default key.
constant for default application name and version.
constant used.
const default config for config-center.
constant for default application name and version.
constant used.
constant used.
DefaultValue default value.
constant for default application name and version.
constant used.
constant for micro service environment parameters.
constant environment keys service center, config center, monitor server addresses.
constant environment keys service center, config center, monitor server addresses.
constant environment keys service center, config center, monitor server addresses.
constant for micro service environment parameters.
constant for micro service environment parameters.
constant for micro service environment parameters.
constant for microservice environment.
constant for microservice environment.
constant used.
constant used.
constant used.
HeaderSourceName is constant for header source name.
HeaderXCseContent is constant for header , get some json msg about HeaderSourceName like {"k":"v"}.
constant used.
constant used.
constant used.
constant for default application name and version.
constant for protocol types.
configuration placeholders.
constant for protocol types.
constant for protocol types.
constant for provider and consumer.
RestMethod is the http method for restful protocol.
ScopeApp means service is not able to access to another app's service.
ScopeFull means service is able to access to another app's service.
env connect with "." like service_description.name and service_description.version which can not be used in k8s.
SessionNameSpaceDefaultValue default session namespace value.
SessionNameSpaceKey metadata session namespace key.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for secure socket layer parameters.
constant for default application name and version.
constant used.
constant used.
env connect with "." like service_description.name and service_description.version which can not be used in k8s.

# Structs

ContextHeaderKey is the unified key of header value in contextall protocol integrated with go chassis must set protocol header into context in this context key.