Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateTopoViewRequest
- func (*CreateTopoViewRequest) Descriptor() ([]byte, []int)
- func (m *CreateTopoViewRequest) GetData() string
- func (m *CreateTopoViewRequest) GetName() string
- func (m *CreateTopoViewRequest) GetType() string
- func (*CreateTopoViewRequest) ProtoMessage()
- func (m *CreateTopoViewRequest) Reset()
- func (m *CreateTopoViewRequest) String() string
- func (this *CreateTopoViewRequest) Validate() error
- func (m *CreateTopoViewRequest) XXX_DiscardUnknown()
- func (m *CreateTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTopoViewRequest) XXX_Merge(src proto.Message)
- func (m *CreateTopoViewRequest) XXX_Size() int
- func (m *CreateTopoViewRequest) XXX_Unmarshal(b []byte) error
- type CreateTopoViewResponseWrapper
- func (*CreateTopoViewResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateTopoViewResponseWrapper) GetCode() int32
- func (m *CreateTopoViewResponseWrapper) GetCodeExplain() string
- func (m *CreateTopoViewResponseWrapper) GetData() *topology.TopoView
- func (m *CreateTopoViewResponseWrapper) GetError() string
- func (*CreateTopoViewResponseWrapper) ProtoMessage()
- func (m *CreateTopoViewResponseWrapper) Reset()
- func (m *CreateTopoViewResponseWrapper) String() string
- func (this *CreateTopoViewResponseWrapper) Validate() error
- func (m *CreateTopoViewResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateTopoViewResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateTopoViewResponseWrapper) XXX_Size() int
- func (m *CreateTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteTopoViewRequest
- func (*DeleteTopoViewRequest) Descriptor() ([]byte, []int)
- func (m *DeleteTopoViewRequest) GetId() string
- func (*DeleteTopoViewRequest) ProtoMessage()
- func (m *DeleteTopoViewRequest) Reset()
- func (m *DeleteTopoViewRequest) String() string
- func (this *DeleteTopoViewRequest) Validate() error
- func (m *DeleteTopoViewRequest) XXX_DiscardUnknown()
- func (m *DeleteTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTopoViewRequest) XXX_Merge(src proto.Message)
- func (m *DeleteTopoViewRequest) XXX_Size() int
- func (m *DeleteTopoViewRequest) XXX_Unmarshal(b []byte) error
- type DeleteTopoViewResponseWrapper
- func (*DeleteTopoViewResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteTopoViewResponseWrapper) GetCode() int32
- func (m *DeleteTopoViewResponseWrapper) GetCodeExplain() string
- func (m *DeleteTopoViewResponseWrapper) GetData() *types.Empty
- func (m *DeleteTopoViewResponseWrapper) GetError() string
- func (*DeleteTopoViewResponseWrapper) ProtoMessage()
- func (m *DeleteTopoViewResponseWrapper) Reset()
- func (m *DeleteTopoViewResponseWrapper) String() string
- func (this *DeleteTopoViewResponseWrapper) Validate() error
- func (m *DeleteTopoViewResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTopoViewResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteTopoViewResponseWrapper) XXX_Size() int
- func (m *DeleteTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetTopoViewRequest
- func (*GetTopoViewRequest) Descriptor() ([]byte, []int)
- func (m *GetTopoViewRequest) GetId() string
- func (*GetTopoViewRequest) ProtoMessage()
- func (m *GetTopoViewRequest) Reset()
- func (m *GetTopoViewRequest) String() string
- func (this *GetTopoViewRequest) Validate() error
- func (m *GetTopoViewRequest) XXX_DiscardUnknown()
- func (m *GetTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopoViewRequest) XXX_Merge(src proto.Message)
- func (m *GetTopoViewRequest) XXX_Size() int
- func (m *GetTopoViewRequest) XXX_Unmarshal(b []byte) error
- type GetTopoViewResponseWrapper
- func (*GetTopoViewResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetTopoViewResponseWrapper) GetCode() int32
- func (m *GetTopoViewResponseWrapper) GetCodeExplain() string
- func (m *GetTopoViewResponseWrapper) GetData() *topology.TopoView
- func (m *GetTopoViewResponseWrapper) GetError() string
- func (*GetTopoViewResponseWrapper) ProtoMessage()
- func (m *GetTopoViewResponseWrapper) Reset()
- func (m *GetTopoViewResponseWrapper) String() string
- func (this *GetTopoViewResponseWrapper) Validate() error
- func (m *GetTopoViewResponseWrapper) XXX_DiscardUnknown()
- func (m *GetTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTopoViewResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetTopoViewResponseWrapper) XXX_Size() int
- func (m *GetTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListTopoViewRequest
- func (*ListTopoViewRequest) Descriptor() ([]byte, []int)
- func (m *ListTopoViewRequest) GetPage() int32
- func (m *ListTopoViewRequest) GetPageSize() int32
- func (m *ListTopoViewRequest) GetQuery() *types.Struct
- func (*ListTopoViewRequest) ProtoMessage()
- func (m *ListTopoViewRequest) Reset()
- func (m *ListTopoViewRequest) String() string
- func (this *ListTopoViewRequest) Validate() error
- func (m *ListTopoViewRequest) XXX_DiscardUnknown()
- func (m *ListTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTopoViewRequest) XXX_Merge(src proto.Message)
- func (m *ListTopoViewRequest) XXX_Size() int
- func (m *ListTopoViewRequest) XXX_Unmarshal(b []byte) error
- type ListTopoViewResponse
- func (*ListTopoViewResponse) Descriptor() ([]byte, []int)
- func (m *ListTopoViewResponse) GetList() []*topology.TopoView
- func (m *ListTopoViewResponse) GetPage() int32
- func (m *ListTopoViewResponse) GetPageSize() int32
- func (m *ListTopoViewResponse) GetTotal() int32
- func (*ListTopoViewResponse) ProtoMessage()
- func (m *ListTopoViewResponse) Reset()
- func (m *ListTopoViewResponse) String() string
- func (this *ListTopoViewResponse) Validate() error
- func (m *ListTopoViewResponse) XXX_DiscardUnknown()
- func (m *ListTopoViewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTopoViewResponse) XXX_Merge(src proto.Message)
- func (m *ListTopoViewResponse) XXX_Size() int
- func (m *ListTopoViewResponse) XXX_Unmarshal(b []byte) error
- type ListTopoViewResponseWrapper
- func (*ListTopoViewResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListTopoViewResponseWrapper) GetCode() int32
- func (m *ListTopoViewResponseWrapper) GetCodeExplain() string
- func (m *ListTopoViewResponseWrapper) GetData() *ListTopoViewResponse
- func (m *ListTopoViewResponseWrapper) GetError() string
- func (*ListTopoViewResponseWrapper) ProtoMessage()
- func (m *ListTopoViewResponseWrapper) Reset()
- func (m *ListTopoViewResponseWrapper) String() string
- func (this *ListTopoViewResponseWrapper) Validate() error
- func (m *ListTopoViewResponseWrapper) XXX_DiscardUnknown()
- func (m *ListTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTopoViewResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListTopoViewResponseWrapper) XXX_Size() int
- func (m *ListTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateTopoViewRequest
- func (*UpdateTopoViewRequest) Descriptor() ([]byte, []int)
- func (m *UpdateTopoViewRequest) GetData() string
- func (m *UpdateTopoViewRequest) GetId() string
- func (m *UpdateTopoViewRequest) GetName() string
- func (m *UpdateTopoViewRequest) GetType() string
- func (*UpdateTopoViewRequest) ProtoMessage()
- func (m *UpdateTopoViewRequest) Reset()
- func (m *UpdateTopoViewRequest) String() string
- func (this *UpdateTopoViewRequest) Validate() error
- func (m *UpdateTopoViewRequest) XXX_DiscardUnknown()
- func (m *UpdateTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateTopoViewRequest) XXX_Merge(src proto.Message)
- func (m *UpdateTopoViewRequest) XXX_Size() int
- func (m *UpdateTopoViewRequest) XXX_Unmarshal(b []byte) error
- type UpdateTopoViewResponseWrapper
- func (*UpdateTopoViewResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateTopoViewResponseWrapper) GetCode() int32
- func (m *UpdateTopoViewResponseWrapper) GetCodeExplain() string
- func (m *UpdateTopoViewResponseWrapper) GetData() *topology.TopoView
- func (m *UpdateTopoViewResponseWrapper) GetError() string
- func (*UpdateTopoViewResponseWrapper) ProtoMessage()
- func (m *UpdateTopoViewResponseWrapper) Reset()
- func (m *UpdateTopoViewResponseWrapper) String() string
- func (this *UpdateTopoViewResponseWrapper) Validate() error
- func (m *UpdateTopoViewResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateTopoViewResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateTopoViewResponseWrapper) XXX_Size() int
- func (m *UpdateTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { CreateTopoView(ctx context.Context, in *CreateTopoViewRequest) (*topology.TopoView, error) DeleteTopoView(ctx context.Context, in *DeleteTopoViewRequest) (*types.Empty, error) GetTopoView(ctx context.Context, in *GetTopoViewRequest) (*topology.TopoView, error) ListTopoView(ctx context.Context, in *ListTopoViewRequest) (*ListTopoViewResponse, error) UpdateTopoView(ctx context.Context, in *UpdateTopoViewRequest) (*topology.TopoView, error) }
Client is the client API for topo_view service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type CreateTopoViewRequest ¶
type CreateTopoViewRequest struct { // //名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //类型 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //数据 Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateTopoView请求
func (*CreateTopoViewRequest) Descriptor ¶
func (*CreateTopoViewRequest) Descriptor() ([]byte, []int)
func (*CreateTopoViewRequest) GetData ¶
func (m *CreateTopoViewRequest) GetData() string
func (*CreateTopoViewRequest) GetName ¶
func (m *CreateTopoViewRequest) GetName() string
func (*CreateTopoViewRequest) GetType ¶
func (m *CreateTopoViewRequest) GetType() string
func (*CreateTopoViewRequest) ProtoMessage ¶
func (*CreateTopoViewRequest) ProtoMessage()
func (*CreateTopoViewRequest) Reset ¶
func (m *CreateTopoViewRequest) Reset()
func (*CreateTopoViewRequest) String ¶
func (m *CreateTopoViewRequest) String() string
func (*CreateTopoViewRequest) Validate ¶
func (this *CreateTopoViewRequest) Validate() error
func (*CreateTopoViewRequest) XXX_DiscardUnknown ¶
func (m *CreateTopoViewRequest) XXX_DiscardUnknown()
func (*CreateTopoViewRequest) XXX_Marshal ¶
func (m *CreateTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTopoViewRequest) XXX_Merge ¶
func (m *CreateTopoViewRequest) XXX_Merge(src proto.Message)
func (*CreateTopoViewRequest) XXX_Size ¶
func (m *CreateTopoViewRequest) XXX_Size() int
func (*CreateTopoViewRequest) XXX_Unmarshal ¶
func (m *CreateTopoViewRequest) XXX_Unmarshal(b []byte) error
type CreateTopoViewResponseWrapper ¶
type CreateTopoViewResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *topology.TopoView `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateTopoViewApi返回
func (*CreateTopoViewResponseWrapper) Descriptor ¶
func (*CreateTopoViewResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateTopoViewResponseWrapper) GetCode ¶
func (m *CreateTopoViewResponseWrapper) GetCode() int32
func (*CreateTopoViewResponseWrapper) GetCodeExplain ¶
func (m *CreateTopoViewResponseWrapper) GetCodeExplain() string
func (*CreateTopoViewResponseWrapper) GetData ¶
func (m *CreateTopoViewResponseWrapper) GetData() *topology.TopoView
func (*CreateTopoViewResponseWrapper) GetError ¶
func (m *CreateTopoViewResponseWrapper) GetError() string
func (*CreateTopoViewResponseWrapper) ProtoMessage ¶
func (*CreateTopoViewResponseWrapper) ProtoMessage()
func (*CreateTopoViewResponseWrapper) Reset ¶
func (m *CreateTopoViewResponseWrapper) Reset()
func (*CreateTopoViewResponseWrapper) String ¶
func (m *CreateTopoViewResponseWrapper) String() string
func (*CreateTopoViewResponseWrapper) Validate ¶
func (this *CreateTopoViewResponseWrapper) Validate() error
func (*CreateTopoViewResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateTopoViewResponseWrapper) XXX_DiscardUnknown()
func (*CreateTopoViewResponseWrapper) XXX_Marshal ¶
func (m *CreateTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTopoViewResponseWrapper) XXX_Merge ¶
func (m *CreateTopoViewResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateTopoViewResponseWrapper) XXX_Size ¶
func (m *CreateTopoViewResponseWrapper) XXX_Size() int
func (*CreateTopoViewResponseWrapper) XXX_Unmarshal ¶
func (m *CreateTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteTopoViewRequest ¶
type DeleteTopoViewRequest struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteTopoView请求
func (*DeleteTopoViewRequest) Descriptor ¶
func (*DeleteTopoViewRequest) Descriptor() ([]byte, []int)
func (*DeleteTopoViewRequest) GetId ¶
func (m *DeleteTopoViewRequest) GetId() string
func (*DeleteTopoViewRequest) ProtoMessage ¶
func (*DeleteTopoViewRequest) ProtoMessage()
func (*DeleteTopoViewRequest) Reset ¶
func (m *DeleteTopoViewRequest) Reset()
func (*DeleteTopoViewRequest) String ¶
func (m *DeleteTopoViewRequest) String() string
func (*DeleteTopoViewRequest) Validate ¶
func (this *DeleteTopoViewRequest) Validate() error
func (*DeleteTopoViewRequest) XXX_DiscardUnknown ¶
func (m *DeleteTopoViewRequest) XXX_DiscardUnknown()
func (*DeleteTopoViewRequest) XXX_Marshal ¶
func (m *DeleteTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTopoViewRequest) XXX_Merge ¶
func (m *DeleteTopoViewRequest) XXX_Merge(src proto.Message)
func (*DeleteTopoViewRequest) XXX_Size ¶
func (m *DeleteTopoViewRequest) XXX_Size() int
func (*DeleteTopoViewRequest) XXX_Unmarshal ¶
func (m *DeleteTopoViewRequest) XXX_Unmarshal(b []byte) error
type DeleteTopoViewResponseWrapper ¶
type DeleteTopoViewResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteTopoViewApi返回
func (*DeleteTopoViewResponseWrapper) Descriptor ¶
func (*DeleteTopoViewResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteTopoViewResponseWrapper) GetCode ¶
func (m *DeleteTopoViewResponseWrapper) GetCode() int32
func (*DeleteTopoViewResponseWrapper) GetCodeExplain ¶
func (m *DeleteTopoViewResponseWrapper) GetCodeExplain() string
func (*DeleteTopoViewResponseWrapper) GetData ¶
func (m *DeleteTopoViewResponseWrapper) GetData() *types.Empty
func (*DeleteTopoViewResponseWrapper) GetError ¶
func (m *DeleteTopoViewResponseWrapper) GetError() string
func (*DeleteTopoViewResponseWrapper) ProtoMessage ¶
func (*DeleteTopoViewResponseWrapper) ProtoMessage()
func (*DeleteTopoViewResponseWrapper) Reset ¶
func (m *DeleteTopoViewResponseWrapper) Reset()
func (*DeleteTopoViewResponseWrapper) String ¶
func (m *DeleteTopoViewResponseWrapper) String() string
func (*DeleteTopoViewResponseWrapper) Validate ¶
func (this *DeleteTopoViewResponseWrapper) Validate() error
func (*DeleteTopoViewResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteTopoViewResponseWrapper) XXX_DiscardUnknown()
func (*DeleteTopoViewResponseWrapper) XXX_Marshal ¶
func (m *DeleteTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTopoViewResponseWrapper) XXX_Merge ¶
func (m *DeleteTopoViewResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteTopoViewResponseWrapper) XXX_Size ¶
func (m *DeleteTopoViewResponseWrapper) XXX_Size() int
func (*DeleteTopoViewResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
type GetTopoViewRequest ¶
type GetTopoViewRequest struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetTopoView请求
func (*GetTopoViewRequest) Descriptor ¶
func (*GetTopoViewRequest) Descriptor() ([]byte, []int)
func (*GetTopoViewRequest) GetId ¶
func (m *GetTopoViewRequest) GetId() string
func (*GetTopoViewRequest) ProtoMessage ¶
func (*GetTopoViewRequest) ProtoMessage()
func (*GetTopoViewRequest) Reset ¶
func (m *GetTopoViewRequest) Reset()
func (*GetTopoViewRequest) String ¶
func (m *GetTopoViewRequest) String() string
func (*GetTopoViewRequest) Validate ¶
func (this *GetTopoViewRequest) Validate() error
func (*GetTopoViewRequest) XXX_DiscardUnknown ¶
func (m *GetTopoViewRequest) XXX_DiscardUnknown()
func (*GetTopoViewRequest) XXX_Marshal ¶
func (m *GetTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopoViewRequest) XXX_Merge ¶
func (m *GetTopoViewRequest) XXX_Merge(src proto.Message)
func (*GetTopoViewRequest) XXX_Size ¶
func (m *GetTopoViewRequest) XXX_Size() int
func (*GetTopoViewRequest) XXX_Unmarshal ¶
func (m *GetTopoViewRequest) XXX_Unmarshal(b []byte) error
type GetTopoViewResponseWrapper ¶
type GetTopoViewResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *topology.TopoView `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetTopoViewApi返回
func (*GetTopoViewResponseWrapper) Descriptor ¶
func (*GetTopoViewResponseWrapper) Descriptor() ([]byte, []int)
func (*GetTopoViewResponseWrapper) GetCode ¶
func (m *GetTopoViewResponseWrapper) GetCode() int32
func (*GetTopoViewResponseWrapper) GetCodeExplain ¶
func (m *GetTopoViewResponseWrapper) GetCodeExplain() string
func (*GetTopoViewResponseWrapper) GetData ¶
func (m *GetTopoViewResponseWrapper) GetData() *topology.TopoView
func (*GetTopoViewResponseWrapper) GetError ¶
func (m *GetTopoViewResponseWrapper) GetError() string
func (*GetTopoViewResponseWrapper) ProtoMessage ¶
func (*GetTopoViewResponseWrapper) ProtoMessage()
func (*GetTopoViewResponseWrapper) Reset ¶
func (m *GetTopoViewResponseWrapper) Reset()
func (*GetTopoViewResponseWrapper) String ¶
func (m *GetTopoViewResponseWrapper) String() string
func (*GetTopoViewResponseWrapper) Validate ¶
func (this *GetTopoViewResponseWrapper) Validate() error
func (*GetTopoViewResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetTopoViewResponseWrapper) XXX_DiscardUnknown()
func (*GetTopoViewResponseWrapper) XXX_Marshal ¶
func (m *GetTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTopoViewResponseWrapper) XXX_Merge ¶
func (m *GetTopoViewResponseWrapper) XXX_Merge(src proto.Message)
func (*GetTopoViewResponseWrapper) XXX_Size ¶
func (m *GetTopoViewResponseWrapper) XXX_Size() int
func (*GetTopoViewResponseWrapper) XXX_Unmarshal ¶
func (m *GetTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
type ListTopoViewRequest ¶
type ListTopoViewRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //每页数据量 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //查询条件 Query *types.Struct `protobuf:"bytes,3,opt,name=query,proto3" json:"query" form:"query"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListTopoView请求
func (*ListTopoViewRequest) Descriptor ¶
func (*ListTopoViewRequest) Descriptor() ([]byte, []int)
func (*ListTopoViewRequest) GetPage ¶
func (m *ListTopoViewRequest) GetPage() int32
func (*ListTopoViewRequest) GetPageSize ¶
func (m *ListTopoViewRequest) GetPageSize() int32
func (*ListTopoViewRequest) GetQuery ¶
func (m *ListTopoViewRequest) GetQuery() *types.Struct
func (*ListTopoViewRequest) ProtoMessage ¶
func (*ListTopoViewRequest) ProtoMessage()
func (*ListTopoViewRequest) Reset ¶
func (m *ListTopoViewRequest) Reset()
func (*ListTopoViewRequest) String ¶
func (m *ListTopoViewRequest) String() string
func (*ListTopoViewRequest) Validate ¶
func (this *ListTopoViewRequest) Validate() error
func (*ListTopoViewRequest) XXX_DiscardUnknown ¶
func (m *ListTopoViewRequest) XXX_DiscardUnknown()
func (*ListTopoViewRequest) XXX_Marshal ¶
func (m *ListTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTopoViewRequest) XXX_Merge ¶
func (m *ListTopoViewRequest) XXX_Merge(src proto.Message)
func (*ListTopoViewRequest) XXX_Size ¶
func (m *ListTopoViewRequest) XXX_Size() int
func (*ListTopoViewRequest) XXX_Unmarshal ¶
func (m *ListTopoViewRequest) XXX_Unmarshal(b []byte) error
type ListTopoViewResponse ¶
type ListTopoViewResponse struct { // //视图列表 List []*topology.TopoView `protobuf:"bytes,1,rep,name=list,proto3" json:"list" form:"list"` // //视图总数 Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total" form:"total"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListTopoView返回
func (*ListTopoViewResponse) Descriptor ¶
func (*ListTopoViewResponse) Descriptor() ([]byte, []int)
func (*ListTopoViewResponse) GetList ¶
func (m *ListTopoViewResponse) GetList() []*topology.TopoView
func (*ListTopoViewResponse) GetPage ¶
func (m *ListTopoViewResponse) GetPage() int32
func (*ListTopoViewResponse) GetPageSize ¶
func (m *ListTopoViewResponse) GetPageSize() int32
func (*ListTopoViewResponse) GetTotal ¶
func (m *ListTopoViewResponse) GetTotal() int32
func (*ListTopoViewResponse) ProtoMessage ¶
func (*ListTopoViewResponse) ProtoMessage()
func (*ListTopoViewResponse) Reset ¶
func (m *ListTopoViewResponse) Reset()
func (*ListTopoViewResponse) String ¶
func (m *ListTopoViewResponse) String() string
func (*ListTopoViewResponse) Validate ¶
func (this *ListTopoViewResponse) Validate() error
func (*ListTopoViewResponse) XXX_DiscardUnknown ¶
func (m *ListTopoViewResponse) XXX_DiscardUnknown()
func (*ListTopoViewResponse) XXX_Marshal ¶
func (m *ListTopoViewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTopoViewResponse) XXX_Merge ¶
func (m *ListTopoViewResponse) XXX_Merge(src proto.Message)
func (*ListTopoViewResponse) XXX_Size ¶
func (m *ListTopoViewResponse) XXX_Size() int
func (*ListTopoViewResponse) XXX_Unmarshal ¶
func (m *ListTopoViewResponse) XXX_Unmarshal(b []byte) error
type ListTopoViewResponseWrapper ¶
type ListTopoViewResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListTopoViewResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListTopoViewApi返回
func (*ListTopoViewResponseWrapper) Descriptor ¶
func (*ListTopoViewResponseWrapper) Descriptor() ([]byte, []int)
func (*ListTopoViewResponseWrapper) GetCode ¶
func (m *ListTopoViewResponseWrapper) GetCode() int32
func (*ListTopoViewResponseWrapper) GetCodeExplain ¶
func (m *ListTopoViewResponseWrapper) GetCodeExplain() string
func (*ListTopoViewResponseWrapper) GetData ¶
func (m *ListTopoViewResponseWrapper) GetData() *ListTopoViewResponse
func (*ListTopoViewResponseWrapper) GetError ¶
func (m *ListTopoViewResponseWrapper) GetError() string
func (*ListTopoViewResponseWrapper) ProtoMessage ¶
func (*ListTopoViewResponseWrapper) ProtoMessage()
func (*ListTopoViewResponseWrapper) Reset ¶
func (m *ListTopoViewResponseWrapper) Reset()
func (*ListTopoViewResponseWrapper) String ¶
func (m *ListTopoViewResponseWrapper) String() string
func (*ListTopoViewResponseWrapper) Validate ¶
func (this *ListTopoViewResponseWrapper) Validate() error
func (*ListTopoViewResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListTopoViewResponseWrapper) XXX_DiscardUnknown()
func (*ListTopoViewResponseWrapper) XXX_Marshal ¶
func (m *ListTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTopoViewResponseWrapper) XXX_Merge ¶
func (m *ListTopoViewResponseWrapper) XXX_Merge(src proto.Message)
func (*ListTopoViewResponseWrapper) XXX_Size ¶
func (m *ListTopoViewResponseWrapper) XXX_Size() int
func (*ListTopoViewResponseWrapper) XXX_Unmarshal ¶
func (m *ListTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateTopoView(context.Context, *CreateTopoViewRequest) (*topology.TopoView, error) DeleteTopoView(context.Context, *DeleteTopoViewRequest) (*types.Empty, error) GetTopoView(context.Context, *GetTopoViewRequest) (*topology.TopoView, error) ListTopoView(context.Context, *ListTopoViewRequest) (*ListTopoViewResponse, error) UpdateTopoView(context.Context, *UpdateTopoViewRequest) (*topology.TopoView, error) }
Service is the server API for topo_view service.
type UpdateTopoViewRequest ¶
type UpdateTopoViewRequest struct { // //ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //类型 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"` // //数据 Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateTopoView请求
func (*UpdateTopoViewRequest) Descriptor ¶
func (*UpdateTopoViewRequest) Descriptor() ([]byte, []int)
func (*UpdateTopoViewRequest) GetData ¶
func (m *UpdateTopoViewRequest) GetData() string
func (*UpdateTopoViewRequest) GetId ¶
func (m *UpdateTopoViewRequest) GetId() string
func (*UpdateTopoViewRequest) GetName ¶
func (m *UpdateTopoViewRequest) GetName() string
func (*UpdateTopoViewRequest) GetType ¶
func (m *UpdateTopoViewRequest) GetType() string
func (*UpdateTopoViewRequest) ProtoMessage ¶
func (*UpdateTopoViewRequest) ProtoMessage()
func (*UpdateTopoViewRequest) Reset ¶
func (m *UpdateTopoViewRequest) Reset()
func (*UpdateTopoViewRequest) String ¶
func (m *UpdateTopoViewRequest) String() string
func (*UpdateTopoViewRequest) Validate ¶
func (this *UpdateTopoViewRequest) Validate() error
func (*UpdateTopoViewRequest) XXX_DiscardUnknown ¶
func (m *UpdateTopoViewRequest) XXX_DiscardUnknown()
func (*UpdateTopoViewRequest) XXX_Marshal ¶
func (m *UpdateTopoViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateTopoViewRequest) XXX_Merge ¶
func (m *UpdateTopoViewRequest) XXX_Merge(src proto.Message)
func (*UpdateTopoViewRequest) XXX_Size ¶
func (m *UpdateTopoViewRequest) XXX_Size() int
func (*UpdateTopoViewRequest) XXX_Unmarshal ¶
func (m *UpdateTopoViewRequest) XXX_Unmarshal(b []byte) error
type UpdateTopoViewResponseWrapper ¶
type UpdateTopoViewResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *topology.TopoView `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateTopoViewApi返回
func (*UpdateTopoViewResponseWrapper) Descriptor ¶
func (*UpdateTopoViewResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateTopoViewResponseWrapper) GetCode ¶
func (m *UpdateTopoViewResponseWrapper) GetCode() int32
func (*UpdateTopoViewResponseWrapper) GetCodeExplain ¶
func (m *UpdateTopoViewResponseWrapper) GetCodeExplain() string
func (*UpdateTopoViewResponseWrapper) GetData ¶
func (m *UpdateTopoViewResponseWrapper) GetData() *topology.TopoView
func (*UpdateTopoViewResponseWrapper) GetError ¶
func (m *UpdateTopoViewResponseWrapper) GetError() string
func (*UpdateTopoViewResponseWrapper) ProtoMessage ¶
func (*UpdateTopoViewResponseWrapper) ProtoMessage()
func (*UpdateTopoViewResponseWrapper) Reset ¶
func (m *UpdateTopoViewResponseWrapper) Reset()
func (*UpdateTopoViewResponseWrapper) String ¶
func (m *UpdateTopoViewResponseWrapper) String() string
func (*UpdateTopoViewResponseWrapper) Validate ¶
func (this *UpdateTopoViewResponseWrapper) Validate() error
func (*UpdateTopoViewResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateTopoViewResponseWrapper) XXX_DiscardUnknown()
func (*UpdateTopoViewResponseWrapper) XXX_Marshal ¶
func (m *UpdateTopoViewResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateTopoViewResponseWrapper) XXX_Merge ¶
func (m *UpdateTopoViewResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateTopoViewResponseWrapper) XXX_Size ¶
func (m *UpdateTopoViewResponseWrapper) XXX_Size() int
func (*UpdateTopoViewResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateTopoViewResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.