forked from JointCloud/pcm-openstack
32 lines
836 B
Go
32 lines
836 B
Go
package logic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitlink.org.cn/jcce-pcm/pcm-participant-openstack/internal/svc"
|
|
"gitlink.org.cn/jcce-pcm/pcm-participant-openstack/openstack"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type ListNetworkSegmentRangesLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewListNetworkSegmentRangesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNetworkSegmentRangesLogic {
|
|
return &ListNetworkSegmentRangesLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
func (l *ListNetworkSegmentRangesLogic) ListNetworkSegmentRanges(in *openstack.ListNetworkSegmentRangesReq) (*openstack.ListNetworkSegmentRangesResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
var resp openstack.ListNetworkSegmentRangesResp
|
|
|
|
return &resp, nil
|
|
}
|