Documentation ¶
Index ¶
Constants ¶
View Source
const ( PageCurrent = "page" PageSize = "pageSize" )
Variables ¶
View Source
var ReadBufPool = sync.Pool{ New: func() interface{} { b := make([]byte, 1024) return &b }, }
ReadBufPool 读取缓冲池
Functions ¶
func GetAIServiceURL ¶ added in v0.7.7
func GetAIServiceURL() string
func GetCoreServiceURL ¶ added in v0.7.7
func GetCoreServiceURL() string
func GetMilvusServiceURL ¶ added in v0.7.7
func GetMilvusServiceURL() string
func GetNatsServiceURL ¶ added in v0.7.7
func GetNatsServiceURL() string
func GetOSServiceURL ¶ added in v0.7.7
func GetOSServiceURL() string
Types ¶
type Pagination ¶
func NewPaginationFromIris ¶
func NewPaginationFromIris(ctx iris.Context) *Pagination
type UserGroupNamespace ¶
type UserGroupNamespace struct { Username string `json:"username"` // 用户名 GroupName string `json:"groupname"` // 组名 Namespace string `json:"namespace"` // 命名空间 }
func NewUserGroupNamespace ¶
func NewUserGroupNamespace(username, groupname, namespace string) *UserGroupNamespace
func NewUserNamespaceFromIris ¶
func NewUserNamespaceFromIris(ctx iris.Context) *UserGroupNamespace
func (*UserGroupNamespace) DatabaseName ¶
func (ugn *UserGroupNamespace) DatabaseName() string
func (*UserGroupNamespace) GetRealPrefix ¶ added in v0.5.4
func (ugn *UserGroupNamespace) GetRealPrefix() string
func (*UserGroupNamespace) String ¶
func (ugn *UserGroupNamespace) String() string
Click to show internal directories.
Click to hide internal directories.