Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateMenuResponse
- func (*CreateMenuResponse) Descriptor() ([]byte, []int)
- func (m *CreateMenuResponse) GetId() string
- func (*CreateMenuResponse) ProtoMessage()
- func (m *CreateMenuResponse) Reset()
- func (m *CreateMenuResponse) String() string
- func (this *CreateMenuResponse) Validate() error
- func (m *CreateMenuResponse) XXX_DiscardUnknown()
- func (m *CreateMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMenuResponse) XXX_Merge(src proto.Message)
- func (m *CreateMenuResponse) XXX_Size() int
- func (m *CreateMenuResponse) XXX_Unmarshal(b []byte) error
- type CreateMenuResponseWrapper
- func (*CreateMenuResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateMenuResponseWrapper) GetCode() int32
- func (m *CreateMenuResponseWrapper) GetCodeExplain() string
- func (m *CreateMenuResponseWrapper) GetData() *CreateMenuResponse
- func (m *CreateMenuResponseWrapper) GetError() string
- func (*CreateMenuResponseWrapper) ProtoMessage()
- func (m *CreateMenuResponseWrapper) Reset()
- func (m *CreateMenuResponseWrapper) String() string
- func (this *CreateMenuResponseWrapper) Validate() error
- func (m *CreateMenuResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMenuResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateMenuResponseWrapper) XXX_Size() int
- func (m *CreateMenuResponseWrapper) XXX_Unmarshal(b []byte) error
- type CreateMenuTreeRequest
- func (*CreateMenuTreeRequest) Descriptor() ([]byte, []int)
- func (m *CreateMenuTreeRequest) GetMenuTree() *types.Struct
- func (*CreateMenuTreeRequest) ProtoMessage()
- func (m *CreateMenuTreeRequest) Reset()
- func (m *CreateMenuTreeRequest) String() string
- func (this *CreateMenuTreeRequest) Validate() error
- func (m *CreateMenuTreeRequest) XXX_DiscardUnknown()
- func (m *CreateMenuTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMenuTreeRequest) XXX_Merge(src proto.Message)
- func (m *CreateMenuTreeRequest) XXX_Size() int
- func (m *CreateMenuTreeRequest) XXX_Unmarshal(b []byte) error
- type CreateMenuTreeResponse
- func (*CreateMenuTreeResponse) Descriptor() ([]byte, []int)
- func (m *CreateMenuTreeResponse) GetMenuTree() *types.Struct
- func (*CreateMenuTreeResponse) ProtoMessage()
- func (m *CreateMenuTreeResponse) Reset()
- func (m *CreateMenuTreeResponse) String() string
- func (this *CreateMenuTreeResponse) Validate() error
- func (m *CreateMenuTreeResponse) XXX_DiscardUnknown()
- func (m *CreateMenuTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMenuTreeResponse) XXX_Merge(src proto.Message)
- func (m *CreateMenuTreeResponse) XXX_Size() int
- func (m *CreateMenuTreeResponse) XXX_Unmarshal(b []byte) error
- type CreateMenuTreeResponseWrapper
- func (*CreateMenuTreeResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateMenuTreeResponseWrapper) GetCode() int32
- func (m *CreateMenuTreeResponseWrapper) GetCodeExplain() string
- func (m *CreateMenuTreeResponseWrapper) GetData() *CreateMenuTreeResponse
- func (m *CreateMenuTreeResponseWrapper) GetError() string
- func (*CreateMenuTreeResponseWrapper) ProtoMessage()
- func (m *CreateMenuTreeResponseWrapper) Reset()
- func (m *CreateMenuTreeResponseWrapper) String() string
- func (this *CreateMenuTreeResponseWrapper) Validate() error
- func (m *CreateMenuTreeResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateMenuTreeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMenuTreeResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateMenuTreeResponseWrapper) XXX_Size() int
- func (m *CreateMenuTreeResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteMenuRequest
- func (*DeleteMenuRequest) Descriptor() ([]byte, []int)
- func (m *DeleteMenuRequest) GetMenusId() string
- func (*DeleteMenuRequest) ProtoMessage()
- func (m *DeleteMenuRequest) Reset()
- func (m *DeleteMenuRequest) String() string
- func (this *DeleteMenuRequest) Validate() error
- func (m *DeleteMenuRequest) XXX_DiscardUnknown()
- func (m *DeleteMenuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteMenuRequest) XXX_Merge(src proto.Message)
- func (m *DeleteMenuRequest) XXX_Size() int
- func (m *DeleteMenuRequest) XXX_Unmarshal(b []byte) error
- type DeleteMenuResponse
- func (*DeleteMenuResponse) Descriptor() ([]byte, []int)
- func (m *DeleteMenuResponse) GetId() string
- func (*DeleteMenuResponse) ProtoMessage()
- func (m *DeleteMenuResponse) Reset()
- func (m *DeleteMenuResponse) String() string
- func (this *DeleteMenuResponse) Validate() error
- func (m *DeleteMenuResponse) XXX_DiscardUnknown()
- func (m *DeleteMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteMenuResponse) XXX_Merge(src proto.Message)
- func (m *DeleteMenuResponse) XXX_Size() int
- func (m *DeleteMenuResponse) XXX_Unmarshal(b []byte) error
- type DeleteMenuResponseWrapper
- func (*DeleteMenuResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteMenuResponseWrapper) GetCode() int32
- func (m *DeleteMenuResponseWrapper) GetCodeExplain() string
- func (m *DeleteMenuResponseWrapper) GetData() *DeleteMenuResponse
- func (m *DeleteMenuResponseWrapper) GetError() string
- func (*DeleteMenuResponseWrapper) ProtoMessage()
- func (m *DeleteMenuResponseWrapper) Reset()
- func (m *DeleteMenuResponseWrapper) String() string
- func (this *DeleteMenuResponseWrapper) Validate() error
- func (m *DeleteMenuResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteMenuResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteMenuResponseWrapper) XXX_Size() int
- func (m *DeleteMenuResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetMenuCategoriesResponseWrapper
- func (*GetMenuCategoriesResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetMenuCategoriesResponseWrapper) GetCode() int32
- func (m *GetMenuCategoriesResponseWrapper) GetCodeExplain() string
- func (m *GetMenuCategoriesResponseWrapper) GetData() []string
- func (m *GetMenuCategoriesResponseWrapper) GetError() string
- func (*GetMenuCategoriesResponseWrapper) ProtoMessage()
- func (m *GetMenuCategoriesResponseWrapper) Reset()
- func (m *GetMenuCategoriesResponseWrapper) String() string
- func (this *GetMenuCategoriesResponseWrapper) Validate() error
- func (m *GetMenuCategoriesResponseWrapper) XXX_DiscardUnknown()
- func (m *GetMenuCategoriesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMenuCategoriesResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetMenuCategoriesResponseWrapper) XXX_Size() int
- func (m *GetMenuCategoriesResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetMenuRequest
- func (*GetMenuRequest) Descriptor() ([]byte, []int)
- func (m *GetMenuRequest) GetMenusId() string
- func (*GetMenuRequest) ProtoMessage()
- func (m *GetMenuRequest) Reset()
- func (m *GetMenuRequest) String() string
- func (this *GetMenuRequest) Validate() error
- func (m *GetMenuRequest) XXX_DiscardUnknown()
- func (m *GetMenuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMenuRequest) XXX_Merge(src proto.Message)
- func (m *GetMenuRequest) XXX_Size() int
- func (m *GetMenuRequest) XXX_Unmarshal(b []byte) error
- type GetMenuResponse
- func (*GetMenuResponse) Descriptor() ([]byte, []int)
- func (m *GetMenuResponse) GetCategory() string
- func (m *GetMenuResponse) GetCreateTime() string
- func (m *GetMenuResponse) GetCreator() string
- func (m *GetMenuResponse) GetIcon() string
- func (m *GetMenuResponse) GetId() string
- func (m *GetMenuResponse) GetManagers() []string
- func (m *GetMenuResponse) GetName() string
- func (m *GetMenuResponse) GetOrg() int32
- func (m *GetMenuResponse) GetUpdateTime() string
- func (m *GetMenuResponse) GetVisitors() []string
- func (*GetMenuResponse) ProtoMessage()
- func (m *GetMenuResponse) Reset()
- func (m *GetMenuResponse) String() string
- func (this *GetMenuResponse) Validate() error
- func (m *GetMenuResponse) XXX_DiscardUnknown()
- func (m *GetMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMenuResponse) XXX_Merge(src proto.Message)
- func (m *GetMenuResponse) XXX_Size() int
- func (m *GetMenuResponse) XXX_Unmarshal(b []byte) error
- type GetMenuResponseWrapper
- func (*GetMenuResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetMenuResponseWrapper) GetCode() int32
- func (m *GetMenuResponseWrapper) GetCodeExplain() string
- func (m *GetMenuResponseWrapper) GetData() *GetMenuResponse
- func (m *GetMenuResponseWrapper) GetError() string
- func (*GetMenuResponseWrapper) ProtoMessage()
- func (m *GetMenuResponseWrapper) Reset()
- func (m *GetMenuResponseWrapper) String() string
- func (this *GetMenuResponseWrapper) Validate() error
- func (m *GetMenuResponseWrapper) XXX_DiscardUnknown()
- func (m *GetMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMenuResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetMenuResponseWrapper) XXX_Size() int
- func (m *GetMenuResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetMenuTreeResponseWrapper
- func (*GetMenuTreeResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetMenuTreeResponseWrapper) GetCode() int32
- func (m *GetMenuTreeResponseWrapper) GetCodeExplain() string
- func (m *GetMenuTreeResponseWrapper) GetData() *types.Struct
- func (m *GetMenuTreeResponseWrapper) GetError() string
- func (*GetMenuTreeResponseWrapper) ProtoMessage()
- func (m *GetMenuTreeResponseWrapper) Reset()
- func (m *GetMenuTreeResponseWrapper) String() string
- func (this *GetMenuTreeResponseWrapper) Validate() error
- func (m *GetMenuTreeResponseWrapper) XXX_DiscardUnknown()
- func (m *GetMenuTreeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMenuTreeResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetMenuTreeResponseWrapper) XXX_Size() int
- func (m *GetMenuTreeResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListMenusRequest
- func (*ListMenusRequest) Descriptor() ([]byte, []int)
- func (m *ListMenusRequest) GetCategory() string
- func (m *ListMenusRequest) GetKeyword() string
- func (m *ListMenusRequest) GetName() string
- func (m *ListMenusRequest) GetPage() int32
- func (m *ListMenusRequest) GetPageSize() int32
- func (*ListMenusRequest) ProtoMessage()
- func (m *ListMenusRequest) Reset()
- func (m *ListMenusRequest) String() string
- func (this *ListMenusRequest) Validate() error
- func (m *ListMenusRequest) XXX_DiscardUnknown()
- func (m *ListMenusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMenusRequest) XXX_Merge(src proto.Message)
- func (m *ListMenusRequest) XXX_Size() int
- func (m *ListMenusRequest) XXX_Unmarshal(b []byte) error
- type ListMenusResponse
- func (*ListMenusResponse) Descriptor() ([]byte, []int)
- func (m *ListMenusResponse) GetList() []*ListMenusResponse_List
- func (m *ListMenusResponse) GetPage() int32
- func (m *ListMenusResponse) GetPageSize() int32
- func (m *ListMenusResponse) GetTotal() int32
- func (*ListMenusResponse) ProtoMessage()
- func (m *ListMenusResponse) Reset()
- func (m *ListMenusResponse) String() string
- func (this *ListMenusResponse) Validate() error
- func (m *ListMenusResponse) XXX_DiscardUnknown()
- func (m *ListMenusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMenusResponse) XXX_Merge(src proto.Message)
- func (m *ListMenusResponse) XXX_Size() int
- func (m *ListMenusResponse) XXX_Unmarshal(b []byte) error
- type ListMenusResponseWrapper
- func (*ListMenusResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListMenusResponseWrapper) GetCode() int32
- func (m *ListMenusResponseWrapper) GetCodeExplain() string
- func (m *ListMenusResponseWrapper) GetData() *ListMenusResponse
- func (m *ListMenusResponseWrapper) GetError() string
- func (*ListMenusResponseWrapper) ProtoMessage()
- func (m *ListMenusResponseWrapper) Reset()
- func (m *ListMenusResponseWrapper) String() string
- func (this *ListMenusResponseWrapper) Validate() error
- func (m *ListMenusResponseWrapper) XXX_DiscardUnknown()
- func (m *ListMenusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMenusResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListMenusResponseWrapper) XXX_Size() int
- func (m *ListMenusResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListMenusResponse_List
- func (*ListMenusResponse_List) Descriptor() ([]byte, []int)
- func (m *ListMenusResponse_List) GetCategory() string
- func (m *ListMenusResponse_List) GetCreator() string
- func (m *ListMenusResponse_List) GetIcon() string
- func (m *ListMenusResponse_List) GetId() string
- func (m *ListMenusResponse_List) GetName() string
- func (*ListMenusResponse_List) ProtoMessage()
- func (m *ListMenusResponse_List) Reset()
- func (m *ListMenusResponse_List) String() string
- func (this *ListMenusResponse_List) Validate() error
- func (m *ListMenusResponse_List) XXX_DiscardUnknown()
- func (m *ListMenusResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMenusResponse_List) XXX_Merge(src proto.Message)
- func (m *ListMenusResponse_List) XXX_Size() int
- func (m *ListMenusResponse_List) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateMenuResponse
- func (*UpdateMenuResponse) Descriptor() ([]byte, []int)
- func (m *UpdateMenuResponse) GetId() string
- func (*UpdateMenuResponse) ProtoMessage()
- func (m *UpdateMenuResponse) Reset()
- func (m *UpdateMenuResponse) String() string
- func (this *UpdateMenuResponse) Validate() error
- func (m *UpdateMenuResponse) XXX_DiscardUnknown()
- func (m *UpdateMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateMenuResponse) XXX_Merge(src proto.Message)
- func (m *UpdateMenuResponse) XXX_Size() int
- func (m *UpdateMenuResponse) XXX_Unmarshal(b []byte) error
- type UpdateMenuResponseWrapper
- func (*UpdateMenuResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateMenuResponseWrapper) GetCode() int32
- func (m *UpdateMenuResponseWrapper) GetCodeExplain() string
- func (m *UpdateMenuResponseWrapper) GetData() *UpdateMenuResponse
- func (m *UpdateMenuResponseWrapper) GetError() string
- func (*UpdateMenuResponseWrapper) ProtoMessage()
- func (m *UpdateMenuResponseWrapper) Reset()
- func (m *UpdateMenuResponseWrapper) String() string
- func (this *UpdateMenuResponseWrapper) Validate() error
- func (m *UpdateMenuResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateMenuResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateMenuResponseWrapper) XXX_Size() int
- func (m *UpdateMenuResponseWrapper) 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 { CreateMenu(ctx context.Context, in *ops_automation.Menu) (*CreateMenuResponse, error) CreateMenuTree(ctx context.Context, in *CreateMenuTreeRequest) (*CreateMenuTreeResponse, error) DeleteMenu(ctx context.Context, in *DeleteMenuRequest) (*DeleteMenuResponse, error) GetMenu(ctx context.Context, in *GetMenuRequest) (*GetMenuResponse, error) GetMenuTree(ctx context.Context, in *types.Empty) (*types.Struct, error) ListMenus(ctx context.Context, in *ListMenusRequest) (*ListMenusResponse, error) UpdateMenu(ctx context.Context, in *ops_automation.Menu) (*UpdateMenuResponse, error) }
Client is the client API for menu 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 CreateMenuResponse ¶
type CreateMenuResponse 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:"-"` }
CreateMenu返回
func (*CreateMenuResponse) Descriptor ¶
func (*CreateMenuResponse) Descriptor() ([]byte, []int)
func (*CreateMenuResponse) GetId ¶
func (m *CreateMenuResponse) GetId() string
func (*CreateMenuResponse) ProtoMessage ¶
func (*CreateMenuResponse) ProtoMessage()
func (*CreateMenuResponse) Reset ¶
func (m *CreateMenuResponse) Reset()
func (*CreateMenuResponse) String ¶
func (m *CreateMenuResponse) String() string
func (*CreateMenuResponse) Validate ¶
func (this *CreateMenuResponse) Validate() error
func (*CreateMenuResponse) XXX_DiscardUnknown ¶
func (m *CreateMenuResponse) XXX_DiscardUnknown()
func (*CreateMenuResponse) XXX_Marshal ¶
func (m *CreateMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMenuResponse) XXX_Merge ¶
func (m *CreateMenuResponse) XXX_Merge(src proto.Message)
func (*CreateMenuResponse) XXX_Size ¶
func (m *CreateMenuResponse) XXX_Size() int
func (*CreateMenuResponse) XXX_Unmarshal ¶
func (m *CreateMenuResponse) XXX_Unmarshal(b []byte) error
type CreateMenuResponseWrapper ¶
type CreateMenuResponseWrapper 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 *CreateMenuResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateMenuApi返回
func (*CreateMenuResponseWrapper) Descriptor ¶
func (*CreateMenuResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateMenuResponseWrapper) GetCode ¶
func (m *CreateMenuResponseWrapper) GetCode() int32
func (*CreateMenuResponseWrapper) GetCodeExplain ¶
func (m *CreateMenuResponseWrapper) GetCodeExplain() string
func (*CreateMenuResponseWrapper) GetData ¶
func (m *CreateMenuResponseWrapper) GetData() *CreateMenuResponse
func (*CreateMenuResponseWrapper) GetError ¶
func (m *CreateMenuResponseWrapper) GetError() string
func (*CreateMenuResponseWrapper) ProtoMessage ¶
func (*CreateMenuResponseWrapper) ProtoMessage()
func (*CreateMenuResponseWrapper) Reset ¶
func (m *CreateMenuResponseWrapper) Reset()
func (*CreateMenuResponseWrapper) String ¶
func (m *CreateMenuResponseWrapper) String() string
func (*CreateMenuResponseWrapper) Validate ¶
func (this *CreateMenuResponseWrapper) Validate() error
func (*CreateMenuResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateMenuResponseWrapper) XXX_DiscardUnknown()
func (*CreateMenuResponseWrapper) XXX_Marshal ¶
func (m *CreateMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMenuResponseWrapper) XXX_Merge ¶
func (m *CreateMenuResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateMenuResponseWrapper) XXX_Size ¶
func (m *CreateMenuResponseWrapper) XXX_Size() int
func (*CreateMenuResponseWrapper) XXX_Unmarshal ¶
func (m *CreateMenuResponseWrapper) XXX_Unmarshal(b []byte) error
type CreateMenuTreeRequest ¶
type CreateMenuTreeRequest struct { // //菜单树 menuTree:{menu_name: [menu_id1, menu_id2]} MenuTree *types.Struct `protobuf:"bytes,1,opt,name=menuTree,proto3" json:"menuTree" form:"menuTree"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateMenuTree请求
func (*CreateMenuTreeRequest) Descriptor ¶
func (*CreateMenuTreeRequest) Descriptor() ([]byte, []int)
func (*CreateMenuTreeRequest) GetMenuTree ¶
func (m *CreateMenuTreeRequest) GetMenuTree() *types.Struct
func (*CreateMenuTreeRequest) ProtoMessage ¶
func (*CreateMenuTreeRequest) ProtoMessage()
func (*CreateMenuTreeRequest) Reset ¶
func (m *CreateMenuTreeRequest) Reset()
func (*CreateMenuTreeRequest) String ¶
func (m *CreateMenuTreeRequest) String() string
func (*CreateMenuTreeRequest) Validate ¶
func (this *CreateMenuTreeRequest) Validate() error
func (*CreateMenuTreeRequest) XXX_DiscardUnknown ¶
func (m *CreateMenuTreeRequest) XXX_DiscardUnknown()
func (*CreateMenuTreeRequest) XXX_Marshal ¶
func (m *CreateMenuTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMenuTreeRequest) XXX_Merge ¶
func (m *CreateMenuTreeRequest) XXX_Merge(src proto.Message)
func (*CreateMenuTreeRequest) XXX_Size ¶
func (m *CreateMenuTreeRequest) XXX_Size() int
func (*CreateMenuTreeRequest) XXX_Unmarshal ¶
func (m *CreateMenuTreeRequest) XXX_Unmarshal(b []byte) error
type CreateMenuTreeResponse ¶
type CreateMenuTreeResponse struct { // //菜单树 menuTree:{menu_name: [menu_id1, menu_id2]} MenuTree *types.Struct `protobuf:"bytes,1,opt,name=menuTree,proto3" json:"menuTree" form:"menuTree"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateMenuTree返回
func (*CreateMenuTreeResponse) Descriptor ¶
func (*CreateMenuTreeResponse) Descriptor() ([]byte, []int)
func (*CreateMenuTreeResponse) GetMenuTree ¶
func (m *CreateMenuTreeResponse) GetMenuTree() *types.Struct
func (*CreateMenuTreeResponse) ProtoMessage ¶
func (*CreateMenuTreeResponse) ProtoMessage()
func (*CreateMenuTreeResponse) Reset ¶
func (m *CreateMenuTreeResponse) Reset()
func (*CreateMenuTreeResponse) String ¶
func (m *CreateMenuTreeResponse) String() string
func (*CreateMenuTreeResponse) Validate ¶
func (this *CreateMenuTreeResponse) Validate() error
func (*CreateMenuTreeResponse) XXX_DiscardUnknown ¶
func (m *CreateMenuTreeResponse) XXX_DiscardUnknown()
func (*CreateMenuTreeResponse) XXX_Marshal ¶
func (m *CreateMenuTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMenuTreeResponse) XXX_Merge ¶
func (m *CreateMenuTreeResponse) XXX_Merge(src proto.Message)
func (*CreateMenuTreeResponse) XXX_Size ¶
func (m *CreateMenuTreeResponse) XXX_Size() int
func (*CreateMenuTreeResponse) XXX_Unmarshal ¶
func (m *CreateMenuTreeResponse) XXX_Unmarshal(b []byte) error
type CreateMenuTreeResponseWrapper ¶
type CreateMenuTreeResponseWrapper 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 *CreateMenuTreeResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateMenuTreeApi返回
func (*CreateMenuTreeResponseWrapper) Descriptor ¶
func (*CreateMenuTreeResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateMenuTreeResponseWrapper) GetCode ¶
func (m *CreateMenuTreeResponseWrapper) GetCode() int32
func (*CreateMenuTreeResponseWrapper) GetCodeExplain ¶
func (m *CreateMenuTreeResponseWrapper) GetCodeExplain() string
func (*CreateMenuTreeResponseWrapper) GetData ¶
func (m *CreateMenuTreeResponseWrapper) GetData() *CreateMenuTreeResponse
func (*CreateMenuTreeResponseWrapper) GetError ¶
func (m *CreateMenuTreeResponseWrapper) GetError() string
func (*CreateMenuTreeResponseWrapper) ProtoMessage ¶
func (*CreateMenuTreeResponseWrapper) ProtoMessage()
func (*CreateMenuTreeResponseWrapper) Reset ¶
func (m *CreateMenuTreeResponseWrapper) Reset()
func (*CreateMenuTreeResponseWrapper) String ¶
func (m *CreateMenuTreeResponseWrapper) String() string
func (*CreateMenuTreeResponseWrapper) Validate ¶
func (this *CreateMenuTreeResponseWrapper) Validate() error
func (*CreateMenuTreeResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateMenuTreeResponseWrapper) XXX_DiscardUnknown()
func (*CreateMenuTreeResponseWrapper) XXX_Marshal ¶
func (m *CreateMenuTreeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMenuTreeResponseWrapper) XXX_Merge ¶
func (m *CreateMenuTreeResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateMenuTreeResponseWrapper) XXX_Size ¶
func (m *CreateMenuTreeResponseWrapper) XXX_Size() int
func (*CreateMenuTreeResponseWrapper) XXX_Unmarshal ¶
func (m *CreateMenuTreeResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteMenuRequest ¶
type DeleteMenuRequest struct { // //菜单id MenusId string `protobuf:"bytes,1,opt,name=menusId,proto3" json:"menusId" form:"menusId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteMenu请求
func (*DeleteMenuRequest) Descriptor ¶
func (*DeleteMenuRequest) Descriptor() ([]byte, []int)
func (*DeleteMenuRequest) GetMenusId ¶
func (m *DeleteMenuRequest) GetMenusId() string
func (*DeleteMenuRequest) ProtoMessage ¶
func (*DeleteMenuRequest) ProtoMessage()
func (*DeleteMenuRequest) Reset ¶
func (m *DeleteMenuRequest) Reset()
func (*DeleteMenuRequest) String ¶
func (m *DeleteMenuRequest) String() string
func (*DeleteMenuRequest) Validate ¶
func (this *DeleteMenuRequest) Validate() error
func (*DeleteMenuRequest) XXX_DiscardUnknown ¶
func (m *DeleteMenuRequest) XXX_DiscardUnknown()
func (*DeleteMenuRequest) XXX_Marshal ¶
func (m *DeleteMenuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteMenuRequest) XXX_Merge ¶
func (m *DeleteMenuRequest) XXX_Merge(src proto.Message)
func (*DeleteMenuRequest) XXX_Size ¶
func (m *DeleteMenuRequest) XXX_Size() int
func (*DeleteMenuRequest) XXX_Unmarshal ¶
func (m *DeleteMenuRequest) XXX_Unmarshal(b []byte) error
type DeleteMenuResponse ¶
type DeleteMenuResponse 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:"-"` }
DeleteMenu返回
func (*DeleteMenuResponse) Descriptor ¶
func (*DeleteMenuResponse) Descriptor() ([]byte, []int)
func (*DeleteMenuResponse) GetId ¶
func (m *DeleteMenuResponse) GetId() string
func (*DeleteMenuResponse) ProtoMessage ¶
func (*DeleteMenuResponse) ProtoMessage()
func (*DeleteMenuResponse) Reset ¶
func (m *DeleteMenuResponse) Reset()
func (*DeleteMenuResponse) String ¶
func (m *DeleteMenuResponse) String() string
func (*DeleteMenuResponse) Validate ¶
func (this *DeleteMenuResponse) Validate() error
func (*DeleteMenuResponse) XXX_DiscardUnknown ¶
func (m *DeleteMenuResponse) XXX_DiscardUnknown()
func (*DeleteMenuResponse) XXX_Marshal ¶
func (m *DeleteMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteMenuResponse) XXX_Merge ¶
func (m *DeleteMenuResponse) XXX_Merge(src proto.Message)
func (*DeleteMenuResponse) XXX_Size ¶
func (m *DeleteMenuResponse) XXX_Size() int
func (*DeleteMenuResponse) XXX_Unmarshal ¶
func (m *DeleteMenuResponse) XXX_Unmarshal(b []byte) error
type DeleteMenuResponseWrapper ¶
type DeleteMenuResponseWrapper 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 *DeleteMenuResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteMenuApi返回
func (*DeleteMenuResponseWrapper) Descriptor ¶
func (*DeleteMenuResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteMenuResponseWrapper) GetCode ¶
func (m *DeleteMenuResponseWrapper) GetCode() int32
func (*DeleteMenuResponseWrapper) GetCodeExplain ¶
func (m *DeleteMenuResponseWrapper) GetCodeExplain() string
func (*DeleteMenuResponseWrapper) GetData ¶
func (m *DeleteMenuResponseWrapper) GetData() *DeleteMenuResponse
func (*DeleteMenuResponseWrapper) GetError ¶
func (m *DeleteMenuResponseWrapper) GetError() string
func (*DeleteMenuResponseWrapper) ProtoMessage ¶
func (*DeleteMenuResponseWrapper) ProtoMessage()
func (*DeleteMenuResponseWrapper) Reset ¶
func (m *DeleteMenuResponseWrapper) Reset()
func (*DeleteMenuResponseWrapper) String ¶
func (m *DeleteMenuResponseWrapper) String() string
func (*DeleteMenuResponseWrapper) Validate ¶
func (this *DeleteMenuResponseWrapper) Validate() error
func (*DeleteMenuResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteMenuResponseWrapper) XXX_DiscardUnknown()
func (*DeleteMenuResponseWrapper) XXX_Marshal ¶
func (m *DeleteMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteMenuResponseWrapper) XXX_Merge ¶
func (m *DeleteMenuResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteMenuResponseWrapper) XXX_Size ¶
func (m *DeleteMenuResponseWrapper) XXX_Size() int
func (*DeleteMenuResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteMenuResponseWrapper) XXX_Unmarshal(b []byte) error
type GetMenuCategoriesResponseWrapper ¶
type GetMenuCategoriesResponseWrapper 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 []string `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetMenuCategoriesApi返回
func (*GetMenuCategoriesResponseWrapper) Descriptor ¶
func (*GetMenuCategoriesResponseWrapper) Descriptor() ([]byte, []int)
func (*GetMenuCategoriesResponseWrapper) GetCode ¶
func (m *GetMenuCategoriesResponseWrapper) GetCode() int32
func (*GetMenuCategoriesResponseWrapper) GetCodeExplain ¶
func (m *GetMenuCategoriesResponseWrapper) GetCodeExplain() string
func (*GetMenuCategoriesResponseWrapper) GetData ¶
func (m *GetMenuCategoriesResponseWrapper) GetData() []string
func (*GetMenuCategoriesResponseWrapper) GetError ¶
func (m *GetMenuCategoriesResponseWrapper) GetError() string
func (*GetMenuCategoriesResponseWrapper) ProtoMessage ¶
func (*GetMenuCategoriesResponseWrapper) ProtoMessage()
func (*GetMenuCategoriesResponseWrapper) Reset ¶
func (m *GetMenuCategoriesResponseWrapper) Reset()
func (*GetMenuCategoriesResponseWrapper) String ¶
func (m *GetMenuCategoriesResponseWrapper) String() string
func (*GetMenuCategoriesResponseWrapper) Validate ¶
func (this *GetMenuCategoriesResponseWrapper) Validate() error
func (*GetMenuCategoriesResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetMenuCategoriesResponseWrapper) XXX_DiscardUnknown()
func (*GetMenuCategoriesResponseWrapper) XXX_Marshal ¶
func (m *GetMenuCategoriesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMenuCategoriesResponseWrapper) XXX_Merge ¶
func (m *GetMenuCategoriesResponseWrapper) XXX_Merge(src proto.Message)
func (*GetMenuCategoriesResponseWrapper) XXX_Size ¶
func (m *GetMenuCategoriesResponseWrapper) XXX_Size() int
func (*GetMenuCategoriesResponseWrapper) XXX_Unmarshal ¶
func (m *GetMenuCategoriesResponseWrapper) XXX_Unmarshal(b []byte) error
type GetMenuRequest ¶
type GetMenuRequest struct { // //菜单id MenusId string `protobuf:"bytes,1,opt,name=menusId,proto3" json:"menusId" form:"menusId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetMenu请求
func (*GetMenuRequest) Descriptor ¶
func (*GetMenuRequest) Descriptor() ([]byte, []int)
func (*GetMenuRequest) GetMenusId ¶
func (m *GetMenuRequest) GetMenusId() string
func (*GetMenuRequest) ProtoMessage ¶
func (*GetMenuRequest) ProtoMessage()
func (*GetMenuRequest) Reset ¶
func (m *GetMenuRequest) Reset()
func (*GetMenuRequest) String ¶
func (m *GetMenuRequest) String() string
func (*GetMenuRequest) Validate ¶
func (this *GetMenuRequest) Validate() error
func (*GetMenuRequest) XXX_DiscardUnknown ¶
func (m *GetMenuRequest) XXX_DiscardUnknown()
func (*GetMenuRequest) XXX_Marshal ¶
func (m *GetMenuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMenuRequest) XXX_Merge ¶
func (m *GetMenuRequest) XXX_Merge(src proto.Message)
func (*GetMenuRequest) XXX_Size ¶
func (m *GetMenuRequest) XXX_Size() int
func (*GetMenuRequest) XXX_Unmarshal ¶
func (m *GetMenuRequest) XXX_Unmarshal(b []byte) error
type GetMenuResponse ¶
type GetMenuResponse struct { // //创建时间 2019-07-01 18:29:25.40459800 CreateTime string `protobuf:"bytes,1,opt,name=createTime,proto3" json:"createTime" form:"createTime"` // //更新时间 2019-07-01 18:29:25.40459800 UpdateTime string `protobuf:"bytes,2,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"` // //创建者 easyops Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator" form:"creator"` // //org Org int32 `protobuf:"varint,4,opt,name=org,proto3" json:"org" form:"org"` // //菜单名称 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name" form:"name"` // //菜单图标 Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon" form:"icon"` // //菜单分类 Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category" form:"category"` // //访问白名单 [easyops, test_uesr] Visitors []string `protobuf:"bytes,8,rep,name=visitors,proto3" json:"visitors" form:"visitors"` // //管理白名单 [easyops, test_uesr] Managers []string `protobuf:"bytes,9,rep,name=managers,proto3" json:"managers" form:"managers"` // //菜单Id Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id" form:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetMenu返回
func (*GetMenuResponse) Descriptor ¶
func (*GetMenuResponse) Descriptor() ([]byte, []int)
func (*GetMenuResponse) GetCategory ¶
func (m *GetMenuResponse) GetCategory() string
func (*GetMenuResponse) GetCreateTime ¶
func (m *GetMenuResponse) GetCreateTime() string
func (*GetMenuResponse) GetCreator ¶
func (m *GetMenuResponse) GetCreator() string
func (*GetMenuResponse) GetIcon ¶
func (m *GetMenuResponse) GetIcon() string
func (*GetMenuResponse) GetId ¶
func (m *GetMenuResponse) GetId() string
func (*GetMenuResponse) GetManagers ¶
func (m *GetMenuResponse) GetManagers() []string
func (*GetMenuResponse) GetName ¶
func (m *GetMenuResponse) GetName() string
func (*GetMenuResponse) GetOrg ¶
func (m *GetMenuResponse) GetOrg() int32
func (*GetMenuResponse) GetUpdateTime ¶
func (m *GetMenuResponse) GetUpdateTime() string
func (*GetMenuResponse) GetVisitors ¶
func (m *GetMenuResponse) GetVisitors() []string
func (*GetMenuResponse) ProtoMessage ¶
func (*GetMenuResponse) ProtoMessage()
func (*GetMenuResponse) Reset ¶
func (m *GetMenuResponse) Reset()
func (*GetMenuResponse) String ¶
func (m *GetMenuResponse) String() string
func (*GetMenuResponse) Validate ¶
func (this *GetMenuResponse) Validate() error
func (*GetMenuResponse) XXX_DiscardUnknown ¶
func (m *GetMenuResponse) XXX_DiscardUnknown()
func (*GetMenuResponse) XXX_Marshal ¶
func (m *GetMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMenuResponse) XXX_Merge ¶
func (m *GetMenuResponse) XXX_Merge(src proto.Message)
func (*GetMenuResponse) XXX_Size ¶
func (m *GetMenuResponse) XXX_Size() int
func (*GetMenuResponse) XXX_Unmarshal ¶
func (m *GetMenuResponse) XXX_Unmarshal(b []byte) error
type GetMenuResponseWrapper ¶
type GetMenuResponseWrapper 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 *GetMenuResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetMenuApi返回
func (*GetMenuResponseWrapper) Descriptor ¶
func (*GetMenuResponseWrapper) Descriptor() ([]byte, []int)
func (*GetMenuResponseWrapper) GetCode ¶
func (m *GetMenuResponseWrapper) GetCode() int32
func (*GetMenuResponseWrapper) GetCodeExplain ¶
func (m *GetMenuResponseWrapper) GetCodeExplain() string
func (*GetMenuResponseWrapper) GetData ¶
func (m *GetMenuResponseWrapper) GetData() *GetMenuResponse
func (*GetMenuResponseWrapper) GetError ¶
func (m *GetMenuResponseWrapper) GetError() string
func (*GetMenuResponseWrapper) ProtoMessage ¶
func (*GetMenuResponseWrapper) ProtoMessage()
func (*GetMenuResponseWrapper) Reset ¶
func (m *GetMenuResponseWrapper) Reset()
func (*GetMenuResponseWrapper) String ¶
func (m *GetMenuResponseWrapper) String() string
func (*GetMenuResponseWrapper) Validate ¶
func (this *GetMenuResponseWrapper) Validate() error
func (*GetMenuResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetMenuResponseWrapper) XXX_DiscardUnknown()
func (*GetMenuResponseWrapper) XXX_Marshal ¶
func (m *GetMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMenuResponseWrapper) XXX_Merge ¶
func (m *GetMenuResponseWrapper) XXX_Merge(src proto.Message)
func (*GetMenuResponseWrapper) XXX_Size ¶
func (m *GetMenuResponseWrapper) XXX_Size() int
func (*GetMenuResponseWrapper) XXX_Unmarshal ¶
func (m *GetMenuResponseWrapper) XXX_Unmarshal(b []byte) error
type GetMenuTreeResponseWrapper ¶
type GetMenuTreeResponseWrapper 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.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetMenuTreeApi返回
func (*GetMenuTreeResponseWrapper) Descriptor ¶
func (*GetMenuTreeResponseWrapper) Descriptor() ([]byte, []int)
func (*GetMenuTreeResponseWrapper) GetCode ¶
func (m *GetMenuTreeResponseWrapper) GetCode() int32
func (*GetMenuTreeResponseWrapper) GetCodeExplain ¶
func (m *GetMenuTreeResponseWrapper) GetCodeExplain() string
func (*GetMenuTreeResponseWrapper) GetData ¶
func (m *GetMenuTreeResponseWrapper) GetData() *types.Struct
func (*GetMenuTreeResponseWrapper) GetError ¶
func (m *GetMenuTreeResponseWrapper) GetError() string
func (*GetMenuTreeResponseWrapper) ProtoMessage ¶
func (*GetMenuTreeResponseWrapper) ProtoMessage()
func (*GetMenuTreeResponseWrapper) Reset ¶
func (m *GetMenuTreeResponseWrapper) Reset()
func (*GetMenuTreeResponseWrapper) String ¶
func (m *GetMenuTreeResponseWrapper) String() string
func (*GetMenuTreeResponseWrapper) Validate ¶
func (this *GetMenuTreeResponseWrapper) Validate() error
func (*GetMenuTreeResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetMenuTreeResponseWrapper) XXX_DiscardUnknown()
func (*GetMenuTreeResponseWrapper) XXX_Marshal ¶
func (m *GetMenuTreeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMenuTreeResponseWrapper) XXX_Merge ¶
func (m *GetMenuTreeResponseWrapper) XXX_Merge(src proto.Message)
func (*GetMenuTreeResponseWrapper) XXX_Size ¶
func (m *GetMenuTreeResponseWrapper) XXX_Size() int
func (*GetMenuTreeResponseWrapper) XXX_Unmarshal ¶
func (m *GetMenuTreeResponseWrapper) XXX_Unmarshal(b []byte) error
type ListMenusRequest ¶
type ListMenusRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //每页大小 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //菜单的分类 Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category" form:"category"` // //菜单精确匹配 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" form:"name"` // //菜单模糊匹配 Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword" form:"keyword"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMenus请求
func (*ListMenusRequest) Descriptor ¶
func (*ListMenusRequest) Descriptor() ([]byte, []int)
func (*ListMenusRequest) GetCategory ¶
func (m *ListMenusRequest) GetCategory() string
func (*ListMenusRequest) GetKeyword ¶
func (m *ListMenusRequest) GetKeyword() string
func (*ListMenusRequest) GetName ¶
func (m *ListMenusRequest) GetName() string
func (*ListMenusRequest) GetPage ¶
func (m *ListMenusRequest) GetPage() int32
func (*ListMenusRequest) GetPageSize ¶
func (m *ListMenusRequest) GetPageSize() int32
func (*ListMenusRequest) ProtoMessage ¶
func (*ListMenusRequest) ProtoMessage()
func (*ListMenusRequest) Reset ¶
func (m *ListMenusRequest) Reset()
func (*ListMenusRequest) String ¶
func (m *ListMenusRequest) String() string
func (*ListMenusRequest) Validate ¶
func (this *ListMenusRequest) Validate() error
func (*ListMenusRequest) XXX_DiscardUnknown ¶
func (m *ListMenusRequest) XXX_DiscardUnknown()
func (*ListMenusRequest) XXX_Marshal ¶
func (m *ListMenusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMenusRequest) XXX_Merge ¶
func (m *ListMenusRequest) XXX_Merge(src proto.Message)
func (*ListMenusRequest) XXX_Size ¶
func (m *ListMenusRequest) XXX_Size() int
func (*ListMenusRequest) XXX_Unmarshal ¶
func (m *ListMenusRequest) XXX_Unmarshal(b []byte) error
type ListMenusResponse ¶
type ListMenusResponse 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"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*ListMenusResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMenus返回
func (*ListMenusResponse) Descriptor ¶
func (*ListMenusResponse) Descriptor() ([]byte, []int)
func (*ListMenusResponse) GetList ¶
func (m *ListMenusResponse) GetList() []*ListMenusResponse_List
func (*ListMenusResponse) GetPage ¶
func (m *ListMenusResponse) GetPage() int32
func (*ListMenusResponse) GetPageSize ¶
func (m *ListMenusResponse) GetPageSize() int32
func (*ListMenusResponse) GetTotal ¶
func (m *ListMenusResponse) GetTotal() int32
func (*ListMenusResponse) ProtoMessage ¶
func (*ListMenusResponse) ProtoMessage()
func (*ListMenusResponse) Reset ¶
func (m *ListMenusResponse) Reset()
func (*ListMenusResponse) String ¶
func (m *ListMenusResponse) String() string
func (*ListMenusResponse) Validate ¶
func (this *ListMenusResponse) Validate() error
func (*ListMenusResponse) XXX_DiscardUnknown ¶
func (m *ListMenusResponse) XXX_DiscardUnknown()
func (*ListMenusResponse) XXX_Marshal ¶
func (m *ListMenusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMenusResponse) XXX_Merge ¶
func (m *ListMenusResponse) XXX_Merge(src proto.Message)
func (*ListMenusResponse) XXX_Size ¶
func (m *ListMenusResponse) XXX_Size() int
func (*ListMenusResponse) XXX_Unmarshal ¶
func (m *ListMenusResponse) XXX_Unmarshal(b []byte) error
type ListMenusResponseWrapper ¶
type ListMenusResponseWrapper 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 *ListMenusResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMenusApi返回
func (*ListMenusResponseWrapper) Descriptor ¶
func (*ListMenusResponseWrapper) Descriptor() ([]byte, []int)
func (*ListMenusResponseWrapper) GetCode ¶
func (m *ListMenusResponseWrapper) GetCode() int32
func (*ListMenusResponseWrapper) GetCodeExplain ¶
func (m *ListMenusResponseWrapper) GetCodeExplain() string
func (*ListMenusResponseWrapper) GetData ¶
func (m *ListMenusResponseWrapper) GetData() *ListMenusResponse
func (*ListMenusResponseWrapper) GetError ¶
func (m *ListMenusResponseWrapper) GetError() string
func (*ListMenusResponseWrapper) ProtoMessage ¶
func (*ListMenusResponseWrapper) ProtoMessage()
func (*ListMenusResponseWrapper) Reset ¶
func (m *ListMenusResponseWrapper) Reset()
func (*ListMenusResponseWrapper) String ¶
func (m *ListMenusResponseWrapper) String() string
func (*ListMenusResponseWrapper) Validate ¶
func (this *ListMenusResponseWrapper) Validate() error
func (*ListMenusResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListMenusResponseWrapper) XXX_DiscardUnknown()
func (*ListMenusResponseWrapper) XXX_Marshal ¶
func (m *ListMenusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMenusResponseWrapper) XXX_Merge ¶
func (m *ListMenusResponseWrapper) XXX_Merge(src proto.Message)
func (*ListMenusResponseWrapper) XXX_Size ¶
func (m *ListMenusResponseWrapper) XXX_Size() int
func (*ListMenusResponseWrapper) XXX_Unmarshal ¶
func (m *ListMenusResponseWrapper) XXX_Unmarshal(b []byte) error
type ListMenusResponse_List ¶
type ListMenusResponse_List struct { // //menu id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //menu name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //category name Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category" form:"category"` // //icon string Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon" form:"icon"` // //menu creator Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator" form:"creator"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMenusResponse_List) Descriptor ¶
func (*ListMenusResponse_List) Descriptor() ([]byte, []int)
func (*ListMenusResponse_List) GetCategory ¶
func (m *ListMenusResponse_List) GetCategory() string
func (*ListMenusResponse_List) GetCreator ¶
func (m *ListMenusResponse_List) GetCreator() string
func (*ListMenusResponse_List) GetIcon ¶
func (m *ListMenusResponse_List) GetIcon() string
func (*ListMenusResponse_List) GetId ¶
func (m *ListMenusResponse_List) GetId() string
func (*ListMenusResponse_List) GetName ¶
func (m *ListMenusResponse_List) GetName() string
func (*ListMenusResponse_List) ProtoMessage ¶
func (*ListMenusResponse_List) ProtoMessage()
func (*ListMenusResponse_List) Reset ¶
func (m *ListMenusResponse_List) Reset()
func (*ListMenusResponse_List) String ¶
func (m *ListMenusResponse_List) String() string
func (*ListMenusResponse_List) Validate ¶
func (this *ListMenusResponse_List) Validate() error
func (*ListMenusResponse_List) XXX_DiscardUnknown ¶
func (m *ListMenusResponse_List) XXX_DiscardUnknown()
func (*ListMenusResponse_List) XXX_Marshal ¶
func (m *ListMenusResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMenusResponse_List) XXX_Merge ¶
func (m *ListMenusResponse_List) XXX_Merge(src proto.Message)
func (*ListMenusResponse_List) XXX_Size ¶
func (m *ListMenusResponse_List) XXX_Size() int
func (*ListMenusResponse_List) XXX_Unmarshal ¶
func (m *ListMenusResponse_List) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateMenu(context.Context, *ops_automation.Menu) (*CreateMenuResponse, error) CreateMenuTree(context.Context, *CreateMenuTreeRequest) (*CreateMenuTreeResponse, error) DeleteMenu(context.Context, *DeleteMenuRequest) (*DeleteMenuResponse, error) GetMenu(context.Context, *GetMenuRequest) (*GetMenuResponse, error) GetMenuTree(context.Context, *types.Empty) (*types.Struct, error) ListMenus(context.Context, *ListMenusRequest) (*ListMenusResponse, error) UpdateMenu(context.Context, *ops_automation.Menu) (*UpdateMenuResponse, error) }
Service is the server API for menu service.
type UpdateMenuResponse ¶
type UpdateMenuResponse 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:"-"` }
UpdateMenu返回
func (*UpdateMenuResponse) Descriptor ¶
func (*UpdateMenuResponse) Descriptor() ([]byte, []int)
func (*UpdateMenuResponse) GetId ¶
func (m *UpdateMenuResponse) GetId() string
func (*UpdateMenuResponse) ProtoMessage ¶
func (*UpdateMenuResponse) ProtoMessage()
func (*UpdateMenuResponse) Reset ¶
func (m *UpdateMenuResponse) Reset()
func (*UpdateMenuResponse) String ¶
func (m *UpdateMenuResponse) String() string
func (*UpdateMenuResponse) Validate ¶
func (this *UpdateMenuResponse) Validate() error
func (*UpdateMenuResponse) XXX_DiscardUnknown ¶
func (m *UpdateMenuResponse) XXX_DiscardUnknown()
func (*UpdateMenuResponse) XXX_Marshal ¶
func (m *UpdateMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateMenuResponse) XXX_Merge ¶
func (m *UpdateMenuResponse) XXX_Merge(src proto.Message)
func (*UpdateMenuResponse) XXX_Size ¶
func (m *UpdateMenuResponse) XXX_Size() int
func (*UpdateMenuResponse) XXX_Unmarshal ¶
func (m *UpdateMenuResponse) XXX_Unmarshal(b []byte) error
type UpdateMenuResponseWrapper ¶
type UpdateMenuResponseWrapper 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 *UpdateMenuResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateMenuApi返回
func (*UpdateMenuResponseWrapper) Descriptor ¶
func (*UpdateMenuResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateMenuResponseWrapper) GetCode ¶
func (m *UpdateMenuResponseWrapper) GetCode() int32
func (*UpdateMenuResponseWrapper) GetCodeExplain ¶
func (m *UpdateMenuResponseWrapper) GetCodeExplain() string
func (*UpdateMenuResponseWrapper) GetData ¶
func (m *UpdateMenuResponseWrapper) GetData() *UpdateMenuResponse
func (*UpdateMenuResponseWrapper) GetError ¶
func (m *UpdateMenuResponseWrapper) GetError() string
func (*UpdateMenuResponseWrapper) ProtoMessage ¶
func (*UpdateMenuResponseWrapper) ProtoMessage()
func (*UpdateMenuResponseWrapper) Reset ¶
func (m *UpdateMenuResponseWrapper) Reset()
func (*UpdateMenuResponseWrapper) String ¶
func (m *UpdateMenuResponseWrapper) String() string
func (*UpdateMenuResponseWrapper) Validate ¶
func (this *UpdateMenuResponseWrapper) Validate() error
func (*UpdateMenuResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateMenuResponseWrapper) XXX_DiscardUnknown()
func (*UpdateMenuResponseWrapper) XXX_Marshal ¶
func (m *UpdateMenuResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateMenuResponseWrapper) XXX_Merge ¶
func (m *UpdateMenuResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateMenuResponseWrapper) XXX_Size ¶
func (m *UpdateMenuResponseWrapper) XXX_Size() int
func (*UpdateMenuResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateMenuResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files ¶
- create_menu.pb.go
- create_menu.validator.pb.go
- create_menu_tree.pb.go
- create_menu_tree.validator.pb.go
- delete_menu.pb.go
- delete_menu.validator.pb.go
- get_menu.pb.go
- get_menu.validator.pb.go
- get_menu_categories.pb.go
- get_menu_categories.validator.pb.go
- get_menu_tree.pb.go
- get_menu_tree.validator.pb.go
- giraffe_service.giraffe.pb.go
- list_menus.pb.go
- list_menus.validator.pb.go
- update_menu.pb.go
- update_menu.validator.pb.go
Click to show internal directories.
Click to hide internal directories.