Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeWs ¶
func ServeWs(svc *svc.ServiceContext, w http.ResponseWriter, r *http.Request) error
处理客户端连接
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
群组
func GetInstanceGroup ¶
type PullLogic ¶
func NewPullLogic ¶
func NewPullLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PullLogic
func (*PullLogic) Pull ¶
func (l *PullLogic) Pull(req *types.PullRequest) (*types.PullResponse, error)
type UploadLogic ¶
func NewUploadLogic ¶
func NewUploadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadLogic
func (*UploadLogic) Upload ¶
func (l *UploadLogic) Upload(req *types.UploadRequest) (*types.UploadResponse, error)
Click to show internal directories.
Click to hide internal directories.