Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type Adapter struct + Addr string + ClusterName string + Password string + User string + func NewAdapter(clusterName, addr, user, password string) *Adapter + func (a *Adapter) SaveConfig(tenantName, groupName, dataID, content string) error + func (a *Adapter) SearchConfig(mode SearchMode, tenantName, groupName, dataID string, page, pageSize int) (*SearchResponse, error) + type ConfigItem struct + Content string + DataID string + Group string + type SearchMode string + var SearchModeAccurate SearchMode = "ACCURATE" + var SearchModeBlur SearchMode = "BLUR" + type SearchResponse struct + ConfigItems []*ConfigItem + Pages int64 + Total int64 + func (s *SearchResponse) ToConfigCenterGroups() *pb.Groups