constants

package
v1.1.40-rc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HTTPHeader             = "HTTP-Header"
	HTTPHeaderKeyRequestID = "X-Request-Id"
	HTTPHeaderKeyLogID     = "X-Tt-Logid"
	HTTPKeyStatusCode      = "http_status_code"
)
View Source
const ContentType = "Content-Type"
View Source
const ContentTypeJson = "application/json"
View Source
const DefaultContentType = ContentTypeJson + "; charset=utf-8"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppType

type AppType string
const (
	AppTypeISV      AppType = "isv"      // isv app
	AppTypeInternal AppType = "internal" // internal app
)

type CallbackType

type CallbackType string
const (
	CallbackTypeEvent     CallbackType = "event_callback"
	CallbackTypeChallenge CallbackType = "url_verification"
)

type Domain

type Domain string
const (
	DomainFeiShu    Domain = "https://open.feishu.cn"
	DomainLarkSuite Domain = "https://open.larksuite.com"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL