mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
688 B
688 B
8. Message Stream Service
8.1 Overview
8.2 API
type Client interface {
CreateChannels(req CreateChannelRequest) (ChannelID []string, error)
DestoryChannels(channelID []string) error
DescribeChannels(channelID []string) (ChannelDescriptions, error)
}
- CreateChannels
type OwnerDescription struct {
Role string
Address string
//Token string
DescriptionText string
}
type CreateChannelRequest struct {
OwnerDescription OwnerDescription
numChannels int
}
- DescribeChannels
type ChannelDescription struct {
Owner OwnerDescription
}
type ChannelDescriptions struct {
Descriptions []ChannelDescription
}