Documentation ¶
Index ¶
- Variables
- func AssignAccessTokenToContextMiddleware0(next httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
- func AssignTokenToContextMiddleware(prefix, key string) func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
- func DecodeErrorResponseMiddleware(next httptransport.DecodeResponseFunc) httptransport.DecodeResponseFunc
- func LoadEnvironmentIntoContextMiddleware(e utils.Environment) func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
- func LoadRequestIntoContextMiddleware() func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var AssignAccessTokenToContextForClientMiddleware = AssignTokenToContextMiddleware("ACT: ", "AccessToken")
View Source
var AssignAccessTokenToContextForServiceMiddleware = AssignTokenToContextMiddleware("", "AccessToken")
View Source
var AssignAgentTokenToContextForClientMiddleware = AssignTokenToContextMiddleware("AGT: ", "AgentToken")
View Source
var AssignAgentTokenToContextForServiceMiddleware = AssignTokenToContextMiddleware("", "AgentToken")
Functions ¶
func AssignAccessTokenToContextMiddleware0 ¶
func AssignAccessTokenToContextMiddleware0(next httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
func AssignTokenToContextMiddleware ¶
func AssignTokenToContextMiddleware(prefix, key string) func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
func DecodeErrorResponseMiddleware ¶
func DecodeErrorResponseMiddleware(next httptransport.DecodeResponseFunc) httptransport.DecodeResponseFunc
func LoadEnvironmentIntoContextMiddleware ¶
func LoadEnvironmentIntoContextMiddleware(e utils.Environment) func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
func LoadRequestIntoContextMiddleware ¶
func LoadRequestIntoContextMiddleware() func(httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.