Documentation ¶
Index ¶
Constants ¶
View Source
const ( PACKAGE_ID = "lm-data-sdk-go/" PACKAGE_VERSION = "0.3.0" OS_NAME = runtime.GOOS ARCH = runtime.GOARCH )
View Source
const REGEX_COMPANY_NAME = "^[a-zA-Z0-9_.\\-]+$"
Variables ¶
This section is empty.
Functions ¶
func BuildUserAgent ¶
func BuildUserAgent() string
Types ¶
type AuthParams ¶ added in v0.6.2
type AuthParams struct { AccessID string AccessKey string BearerToken string CollectorCredentials string }
func (AuthParams) GetCredentials ¶ added in v0.6.2
func (ap AuthParams) GetCredentials(method, resourcePath string, body []byte) string
type Timestamp ¶ added in v0.8.0
type Timestamp uint64
Timestamp is a time specified as UNIX Epoch time in nanoseconds since 1970-01-01 00:00:00 +0000 UTC.
func NewTimestampFromTime ¶ added in v0.8.0
NewTimestampFromTime constructs a new Timestamp from the provided time.Time.
Click to show internal directories.
Click to hide internal directories.