Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessTokenHeader = "access_token" RefreshTokenHeader = "refresh_token" HeaderForwardedProto = "X-Forwarded-Proto" MaxAge = 3600 * 24 AccessTokenExpireDuration = 24 * time.Hour RefreshTokenExpireDuration = 10 * 24 * time.Hour )
View Source
const ( KafkaAssignorRoundRobin = "roundrobin" KafkaAssignorSticky = "sticky" KafkaAssignorRange = "range" )
View Source
const ( KafkaCrawlTopic = "kafka-crawl-topic" KafkaCSVLoaderTopic = "search-engine-csv-loader-topic" KafkaTrieTreeTopic = "search-engine-trie-tree-topic" )
View Source
const ( KafkaCSVLoaderGroupId = "kafka-csv-loader-group-id" KafkaTrieTreeGroupId = "kafka-trie-tree-group-id" )
View Source
const ( PrometheusJobKey = "/prometheus/targets" GatewayJobForPrometheus = "gateway" )
View Source
const ( TermBucket = "term" InvertedBucket = "inverted" TrieTreeBucket = "trie_tree" )
View Source
const ( EngineBufSize = 10000 ForwardCountInitValue = "0" )
View Source
const ( DataSourceCSV = iota + 1 DataSourceCrawl )
View Source
const ( BatchCreateSize = 1000 BatchSize = 100 )
View Source
const ( UserServiceName = "user" FavoriteServiceName = "favorite" SearchServiceName = "search_engine" IndexPlatformName = "index_platform" SearchVectorName = "search_vector" )
View Source
const KafkaBatchProduceCount = 200
View Source
const LayOutTimeFormat = "2006-01-02 15:04:05"
View Source
const (
PassWordCost = 12 // 密码加密难度
)
View Source
const (
ServiceName = "tangseng"
)
View Source
const UserInfoKey = "user_info_key"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.