MCPcopy
hub / github.com/larksuite/cli / UserAgentValue

Function UserAgentValue

internal/cmdutil/secheader.go:48–50  ·  view source on GitHub ↗

UserAgentValue returns the User-Agent value: "lark-cli/{version}".

()

Source from the content-addressed store, hash-verified

46
47// UserAgentValue returns the User-Agent value: "lark-cli/{version}".
48func UserAgentValue() string {
49 return SourceValue + "/" + build.Version
50}
51
52// AgentTraceValue returns a header-safe value from the
53// LARKSUITE_CLI_AGENT_TRACE environment variable. It trims

Callers 2

RoundTripMethod · 0.85
BaseSecurityHeadersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected