v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 is a generated blademaster stub package. This code was generated with go-common/app/tool/bmgen/protoc-gen-bm v0.1.

It is generated from these files:

api/http/v1/titans.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTitans = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTitans   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterV1TitansService

func RegisterV1TitansService(e *bm.Engine, svc Titans, midMap map[string]bm.HandlerFunc)

RegisterV1TitansService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto

Types

type EasyGetReq

type EasyGetReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
	Page                 int64    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EasyGetReq) Descriptor

func (*EasyGetReq) Descriptor() ([]byte, []int)

func (*EasyGetReq) GetId

func (m *EasyGetReq) GetId() int64

func (*EasyGetReq) GetPage

func (m *EasyGetReq) GetPage() int64

func (*EasyGetReq) Marshal

func (m *EasyGetReq) Marshal() (dAtA []byte, err error)

func (*EasyGetReq) MarshalTo

func (m *EasyGetReq) MarshalTo(dAtA []byte) (int, error)

func (*EasyGetReq) ProtoMessage

func (*EasyGetReq) ProtoMessage()

func (*EasyGetReq) Reset

func (m *EasyGetReq) Reset()

func (*EasyGetReq) Size

func (m *EasyGetReq) Size() (n int)

func (*EasyGetReq) String

func (m *EasyGetReq) String() string

func (*EasyGetReq) Unmarshal

func (m *EasyGetReq) Unmarshal(dAtA []byte) error

func (*EasyGetReq) XXX_DiscardUnknown

func (m *EasyGetReq) XXX_DiscardUnknown()

func (*EasyGetReq) XXX_Marshal

func (m *EasyGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EasyGetReq) XXX_Merge

func (dst *EasyGetReq) XXX_Merge(src proto.Message)

func (*EasyGetReq) XXX_Size

func (m *EasyGetReq) XXX_Size() int

func (*EasyGetReq) XXX_Unmarshal

func (m *EasyGetReq) XXX_Unmarshal(b []byte) error

type EasyGetResp

type EasyGetResp struct {
	List                 []*EasyList `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*EasyGetResp) Descriptor

func (*EasyGetResp) Descriptor() ([]byte, []int)

func (*EasyGetResp) GetList

func (m *EasyGetResp) GetList() []*EasyList

func (*EasyGetResp) Marshal

func (m *EasyGetResp) Marshal() (dAtA []byte, err error)

func (*EasyGetResp) MarshalTo

func (m *EasyGetResp) MarshalTo(dAtA []byte) (int, error)

func (*EasyGetResp) ProtoMessage

func (*EasyGetResp) ProtoMessage()

func (*EasyGetResp) Reset

func (m *EasyGetResp) Reset()

func (*EasyGetResp) Size

func (m *EasyGetResp) Size() (n int)

func (*EasyGetResp) String

func (m *EasyGetResp) String() string

func (*EasyGetResp) Unmarshal

func (m *EasyGetResp) Unmarshal(dAtA []byte) error

func (*EasyGetResp) XXX_DiscardUnknown

func (m *EasyGetResp) XXX_DiscardUnknown()

func (*EasyGetResp) XXX_Marshal

func (m *EasyGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EasyGetResp) XXX_Merge

func (dst *EasyGetResp) XXX_Merge(src proto.Message)

func (*EasyGetResp) XXX_Size

func (m *EasyGetResp) XXX_Size() int

func (*EasyGetResp) XXX_Unmarshal

func (m *EasyGetResp) XXX_Unmarshal(b []byte) error

type EasyList

type EasyList struct {
	TreeName             string   `protobuf:"bytes,1,opt,name=tree_name,json=treeName,proto3" json:"tree_name"`
	TreePath             string   `protobuf:"bytes,2,opt,name=tree_path,json=treePath,proto3" json:"tree_path"`
	TreeId               int64    `protobuf:"varint,3,opt,name=tree_id,json=treeId,proto3" json:"tree_id"`
	Keyword              string   `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword"`
	Name                 string   `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EasyList) Descriptor

func (*EasyList) Descriptor() ([]byte, []int)

func (*EasyList) GetKeyword

func (m *EasyList) GetKeyword() string

func (*EasyList) GetName

func (m *EasyList) GetName() string

func (*EasyList) GetTreeId

func (m *EasyList) GetTreeId() int64

func (*EasyList) GetTreeName

func (m *EasyList) GetTreeName() string

func (*EasyList) GetTreePath

func (m *EasyList) GetTreePath() string

func (*EasyList) Marshal

func (m *EasyList) Marshal() (dAtA []byte, err error)

func (*EasyList) MarshalTo

func (m *EasyList) MarshalTo(dAtA []byte) (int, error)

func (*EasyList) ProtoMessage

func (*EasyList) ProtoMessage()

func (*EasyList) Reset

func (m *EasyList) Reset()

func (*EasyList) Size

func (m *EasyList) Size() (n int)

func (*EasyList) String

func (m *EasyList) String() string

func (*EasyList) Unmarshal

func (m *EasyList) Unmarshal(dAtA []byte) error

func (*EasyList) XXX_DiscardUnknown

func (m *EasyList) XXX_DiscardUnknown()

func (*EasyList) XXX_Marshal

func (m *EasyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EasyList) XXX_Merge

func (dst *EasyList) XXX_Merge(src proto.Message)

func (*EasyList) XXX_Size

func (m *EasyList) XXX_Size() int

func (*EasyList) XXX_Unmarshal

func (m *EasyList) XXX_Unmarshal(b []byte) error

type EasySetReq

type EasySetReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EasySetReq) Descriptor

func (*EasySetReq) Descriptor() ([]byte, []int)

func (*EasySetReq) GetId

func (m *EasySetReq) GetId() int64

func (*EasySetReq) Marshal

func (m *EasySetReq) Marshal() (dAtA []byte, err error)

func (*EasySetReq) MarshalTo

func (m *EasySetReq) MarshalTo(dAtA []byte) (int, error)

func (*EasySetReq) ProtoMessage

func (*EasySetReq) ProtoMessage()

func (*EasySetReq) Reset

func (m *EasySetReq) Reset()

func (*EasySetReq) Size

func (m *EasySetReq) Size() (n int)

func (*EasySetReq) String

func (m *EasySetReq) String() string

func (*EasySetReq) Unmarshal

func (m *EasySetReq) Unmarshal(dAtA []byte) error

func (*EasySetReq) XXX_DiscardUnknown

func (m *EasySetReq) XXX_DiscardUnknown()

func (*EasySetReq) XXX_Marshal

func (m *EasySetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EasySetReq) XXX_Merge

func (dst *EasySetReq) XXX_Merge(src proto.Message)

func (*EasySetReq) XXX_Size

func (m *EasySetReq) XXX_Size() int

func (*EasySetReq) XXX_Unmarshal

func (m *EasySetReq) XXX_Unmarshal(b []byte) error

type EasySetResp

type EasySetResp struct {
	EId                  int64    `protobuf:"varint,1,opt,name=eId,proto3" json:"eId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EasySetResp) Descriptor

func (*EasySetResp) Descriptor() ([]byte, []int)

func (*EasySetResp) GetEId

func (m *EasySetResp) GetEId() int64

func (*EasySetResp) Marshal

func (m *EasySetResp) Marshal() (dAtA []byte, err error)

func (*EasySetResp) MarshalTo

func (m *EasySetResp) MarshalTo(dAtA []byte) (int, error)

func (*EasySetResp) ProtoMessage

func (*EasySetResp) ProtoMessage()

func (*EasySetResp) Reset

func (m *EasySetResp) Reset()

func (*EasySetResp) Size

func (m *EasySetResp) Size() (n int)

func (*EasySetResp) String

func (m *EasySetResp) String() string

func (*EasySetResp) Unmarshal

func (m *EasySetResp) Unmarshal(dAtA []byte) error

func (*EasySetResp) XXX_DiscardUnknown

func (m *EasySetResp) XXX_DiscardUnknown()

func (*EasySetResp) XXX_Marshal

func (m *EasySetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EasySetResp) XXX_Merge

func (dst *EasySetResp) XXX_Merge(src proto.Message)

func (*EasySetResp) XXX_Size

func (m *EasySetResp) XXX_Size() int

func (*EasySetResp) XXX_Unmarshal

func (m *EasySetResp) XXX_Unmarshal(b []byte) error

type MChild

type MChild struct {
	Keys                 map[string]string `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MChild) Descriptor

func (*MChild) Descriptor() ([]byte, []int)

func (*MChild) GetKeys

func (m *MChild) GetKeys() map[string]string

func (*MChild) Marshal

func (m *MChild) Marshal() (dAtA []byte, err error)

func (*MChild) MarshalTo

func (m *MChild) MarshalTo(dAtA []byte) (int, error)

func (*MChild) ProtoMessage

func (*MChild) ProtoMessage()

func (*MChild) Reset

func (m *MChild) Reset()

func (*MChild) Size

func (m *MChild) Size() (n int)

func (*MChild) String

func (m *MChild) String() string

func (*MChild) Unmarshal

func (m *MChild) Unmarshal(dAtA []byte) error

func (*MChild) XXX_DiscardUnknown

func (m *MChild) XXX_DiscardUnknown()

func (*MChild) XXX_Marshal

func (m *MChild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MChild) XXX_Merge

func (dst *MChild) XXX_Merge(src proto.Message)

func (*MChild) XXX_Size

func (m *MChild) XXX_Size() int

func (*MChild) XXX_Unmarshal

func (m *MChild) XXX_Unmarshal(b []byte) error

type MList

type MList struct {
	// Id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	// tree_name
	TreeName string `protobuf:"bytes,2,opt,name=tree_name,json=treeName,proto3" json:"tree_name"`
	TreePath string `protobuf:"bytes,3,opt,name=tree_path,json=treePath,proto3" json:"tree_path"`
	TreeId   int64  `protobuf:"varint,4,opt,name=tree_id,json=treeId,proto3" json:"tree_id"`
	Service  string `protobuf:"bytes,5,opt,name=service,proto3" json:"service"`
	// 索引名称
	Template int64  `protobuf:"varint,6,opt,name=template,proto3" json:"template"`
	Keyword  string `protobuf:"bytes,7,opt,name=keyword,proto3" json:"keyword"`
	// 配置值
	Value string `protobuf:"bytes,8,opt,name=value,proto3" json:"value"`
	// 配置解释
	Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name"`
	// 创建时间
	Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime"`
	// 最近更新时间
	Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime"`
	// 状态
	Status               int64    `protobuf:"varint,12,opt,name=status,proto3" json:"status"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MList) Descriptor

func (*MList) Descriptor() ([]byte, []int)

func (*MList) GetCtime

func (m *MList) GetCtime() string

func (*MList) GetId

func (m *MList) GetId() int64

func (*MList) GetKeyword

func (m *MList) GetKeyword() string

func (*MList) GetMtime

func (m *MList) GetMtime() string

func (*MList) GetName

func (m *MList) GetName() string

func (*MList) GetService

func (m *MList) GetService() string

func (*MList) GetStatus

func (m *MList) GetStatus() int64

func (*MList) GetTemplate

func (m *MList) GetTemplate() int64

func (*MList) GetTreeId

func (m *MList) GetTreeId() int64

func (*MList) GetTreeName

func (m *MList) GetTreeName() string

func (*MList) GetTreePath

func (m *MList) GetTreePath() string

func (*MList) GetValue

func (m *MList) GetValue() string

func (*MList) Marshal

func (m *MList) Marshal() (dAtA []byte, err error)

func (*MList) MarshalTo

func (m *MList) MarshalTo(dAtA []byte) (int, error)

func (*MList) ProtoMessage

func (*MList) ProtoMessage()

func (*MList) Reset

func (m *MList) Reset()

func (*MList) Size

func (m *MList) Size() (n int)

func (*MList) String

func (m *MList) String() string

func (*MList) Unmarshal

func (m *MList) Unmarshal(dAtA []byte) error

func (*MList) XXX_DiscardUnknown

func (m *MList) XXX_DiscardUnknown()

func (*MList) XXX_Marshal

func (m *MList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MList) XXX_Merge

func (dst *MList) XXX_Merge(src proto.Message)

func (*MList) XXX_Size

func (m *MList) XXX_Size() int

func (*MList) XXX_Unmarshal

func (m *MList) XXX_Unmarshal(b []byte) error

type MultiConfigReq

type MultiConfigReq struct {
	Values               string   `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty" form:"values"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MultiConfigReq) Descriptor

func (*MultiConfigReq) Descriptor() ([]byte, []int)

func (*MultiConfigReq) GetValues

func (m *MultiConfigReq) GetValues() string

func (*MultiConfigReq) Marshal

func (m *MultiConfigReq) Marshal() (dAtA []byte, err error)

func (*MultiConfigReq) MarshalTo

func (m *MultiConfigReq) MarshalTo(dAtA []byte) (int, error)

func (*MultiConfigReq) ProtoMessage

func (*MultiConfigReq) ProtoMessage()

func (*MultiConfigReq) Reset

func (m *MultiConfigReq) Reset()

func (*MultiConfigReq) Size

func (m *MultiConfigReq) Size() (n int)

func (*MultiConfigReq) String

func (m *MultiConfigReq) String() string

func (*MultiConfigReq) Unmarshal

func (m *MultiConfigReq) Unmarshal(dAtA []byte) error

func (*MultiConfigReq) XXX_DiscardUnknown

func (m *MultiConfigReq) XXX_DiscardUnknown()

func (*MultiConfigReq) XXX_Marshal

func (m *MultiConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiConfigReq) XXX_Merge

func (dst *MultiConfigReq) XXX_Merge(src proto.Message)

func (*MultiConfigReq) XXX_Size

func (m *MultiConfigReq) XXX_Size() int

func (*MultiConfigReq) XXX_Unmarshal

func (m *MultiConfigReq) XXX_Unmarshal(b []byte) error

type MultiConfigResp

type MultiConfigResp struct {
	List                 map[int64]*MChild `` /* 140-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MultiConfigResp) Descriptor

func (*MultiConfigResp) Descriptor() ([]byte, []int)

func (*MultiConfigResp) GetList

func (m *MultiConfigResp) GetList() map[int64]*MChild

func (*MultiConfigResp) Marshal

func (m *MultiConfigResp) Marshal() (dAtA []byte, err error)

func (*MultiConfigResp) MarshalTo

func (m *MultiConfigResp) MarshalTo(dAtA []byte) (int, error)

func (*MultiConfigResp) ProtoMessage

func (*MultiConfigResp) ProtoMessage()

func (*MultiConfigResp) Reset

func (m *MultiConfigResp) Reset()

func (*MultiConfigResp) Size

func (m *MultiConfigResp) Size() (n int)

func (*MultiConfigResp) String

func (m *MultiConfigResp) String() string

func (*MultiConfigResp) Unmarshal

func (m *MultiConfigResp) Unmarshal(dAtA []byte) error

func (*MultiConfigResp) XXX_DiscardUnknown

func (m *MultiConfigResp) XXX_DiscardUnknown()

func (*MultiConfigResp) XXX_Marshal

func (m *MultiConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiConfigResp) XXX_Merge

func (dst *MultiConfigResp) XXX_Merge(src proto.Message)

func (*MultiConfigResp) XXX_Size

func (m *MultiConfigResp) XXX_Size() int

func (*MultiConfigResp) XXX_Unmarshal

func (m *MultiConfigResp) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
	Path                 string   `protobuf:"bytes,2,opt,name=path,proto3" json:"path"`
	TreeId               int64    `protobuf:"varint,3,opt,name=tree_id,json=treeId,proto3" json:"tree_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetPath

func (m *Node) GetPath() string

func (*Node) GetTreeId

func (m *Node) GetTreeId() int64

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (dst *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type ServiceConfigReq

type ServiceConfigReq struct {
	TreeId               int64    `protobuf:"varint,1,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty" form:"tree_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceConfigReq) Descriptor

func (*ServiceConfigReq) Descriptor() ([]byte, []int)

func (*ServiceConfigReq) GetTreeId

func (m *ServiceConfigReq) GetTreeId() int64

func (*ServiceConfigReq) Marshal

func (m *ServiceConfigReq) Marshal() (dAtA []byte, err error)

func (*ServiceConfigReq) MarshalTo

func (m *ServiceConfigReq) MarshalTo(dAtA []byte) (int, error)

func (*ServiceConfigReq) ProtoMessage

func (*ServiceConfigReq) ProtoMessage()

func (*ServiceConfigReq) Reset

func (m *ServiceConfigReq) Reset()

func (*ServiceConfigReq) Size

func (m *ServiceConfigReq) Size() (n int)

func (*ServiceConfigReq) String

func (m *ServiceConfigReq) String() string

func (*ServiceConfigReq) Unmarshal

func (m *ServiceConfigReq) Unmarshal(dAtA []byte) error

func (*ServiceConfigReq) XXX_DiscardUnknown

func (m *ServiceConfigReq) XXX_DiscardUnknown()

func (*ServiceConfigReq) XXX_Marshal

func (m *ServiceConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceConfigReq) XXX_Merge

func (dst *ServiceConfigReq) XXX_Merge(src proto.Message)

func (*ServiceConfigReq) XXX_Size

func (m *ServiceConfigReq) XXX_Size() int

func (*ServiceConfigReq) XXX_Unmarshal

func (m *ServiceConfigReq) XXX_Unmarshal(b []byte) error

type ServiceConfigResp

type ServiceConfigResp struct {
	List                 map[string]string `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ServiceConfigResp) Descriptor

func (*ServiceConfigResp) Descriptor() ([]byte, []int)

func (*ServiceConfigResp) GetList

func (m *ServiceConfigResp) GetList() map[string]string

func (*ServiceConfigResp) Marshal

func (m *ServiceConfigResp) Marshal() (dAtA []byte, err error)

func (*ServiceConfigResp) MarshalTo

func (m *ServiceConfigResp) MarshalTo(dAtA []byte) (int, error)

func (*ServiceConfigResp) ProtoMessage

func (*ServiceConfigResp) ProtoMessage()

func (*ServiceConfigResp) Reset

func (m *ServiceConfigResp) Reset()

func (*ServiceConfigResp) Size

func (m *ServiceConfigResp) Size() (n int)

func (*ServiceConfigResp) String

func (m *ServiceConfigResp) String() string

func (*ServiceConfigResp) Unmarshal

func (m *ServiceConfigResp) Unmarshal(dAtA []byte) error

func (*ServiceConfigResp) XXX_DiscardUnknown

func (m *ServiceConfigResp) XXX_DiscardUnknown()

func (*ServiceConfigResp) XXX_Marshal

func (m *ServiceConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceConfigResp) XXX_Merge

func (dst *ServiceConfigResp) XXX_Merge(src proto.Message)

func (*ServiceConfigResp) XXX_Size

func (m *ServiceConfigResp) XXX_Size() int

func (*ServiceConfigResp) XXX_Unmarshal

func (m *ServiceConfigResp) XXX_Unmarshal(b []byte) error

type ServiceListReq

type ServiceListReq struct {
	TreeName             string   `protobuf:"bytes,1,opt,name=tree_name,json=treeName,proto3" json:"tree_name,omitempty" form:"tree_name" required`
	TreeId               int64    `protobuf:"varint,2,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty" form:"tree_id"`
	Service              string   `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty" form:"service"`
	Keyword              string   `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword"`
	Page                 int64    `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty" form:"page"`
	PageSize             int64    `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size"`
	Name                 string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" form:"name"`
	Status               int64    `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty" form:"status"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceListReq) Descriptor

func (*ServiceListReq) Descriptor() ([]byte, []int)

func (*ServiceListReq) GetKeyword

func (m *ServiceListReq) GetKeyword() string

func (*ServiceListReq) GetName

func (m *ServiceListReq) GetName() string

func (*ServiceListReq) GetPage

func (m *ServiceListReq) GetPage() int64

func (*ServiceListReq) GetPageSize

func (m *ServiceListReq) GetPageSize() int64

func (*ServiceListReq) GetService

func (m *ServiceListReq) GetService() string

func (*ServiceListReq) GetStatus

func (m *ServiceListReq) GetStatus() int64

func (*ServiceListReq) GetTreeId

func (m *ServiceListReq) GetTreeId() int64

func (*ServiceListReq) GetTreeName

func (m *ServiceListReq) GetTreeName() string

func (*ServiceListReq) Marshal

func (m *ServiceListReq) Marshal() (dAtA []byte, err error)

func (*ServiceListReq) MarshalTo

func (m *ServiceListReq) MarshalTo(dAtA []byte) (int, error)

func (*ServiceListReq) ProtoMessage

func (*ServiceListReq) ProtoMessage()

func (*ServiceListReq) Reset

func (m *ServiceListReq) Reset()

func (*ServiceListReq) Size

func (m *ServiceListReq) Size() (n int)

func (*ServiceListReq) String

func (m *ServiceListReq) String() string

func (*ServiceListReq) Unmarshal

func (m *ServiceListReq) Unmarshal(dAtA []byte) error

func (*ServiceListReq) XXX_DiscardUnknown

func (m *ServiceListReq) XXX_DiscardUnknown()

func (*ServiceListReq) XXX_Marshal

func (m *ServiceListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceListReq) XXX_Merge

func (dst *ServiceListReq) XXX_Merge(src proto.Message)

func (*ServiceListReq) XXX_Size

func (m *ServiceListReq) XXX_Size() int

func (*ServiceListReq) XXX_Unmarshal

func (m *ServiceListReq) XXX_Unmarshal(b []byte) error

type ServiceListResp

type ServiceListResp struct {
	List                 []*MList `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	TotalNum             int64    `protobuf:"varint,2,opt,name=total_num,json=totalNum,proto3" json:"total_num"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceListResp) Descriptor

func (*ServiceListResp) Descriptor() ([]byte, []int)

func (*ServiceListResp) GetList

func (m *ServiceListResp) GetList() []*MList

func (*ServiceListResp) GetTotalNum

func (m *ServiceListResp) GetTotalNum() int64

func (*ServiceListResp) Marshal

func (m *ServiceListResp) Marshal() (dAtA []byte, err error)

func (*ServiceListResp) MarshalTo

func (m *ServiceListResp) MarshalTo(dAtA []byte) (int, error)

func (*ServiceListResp) ProtoMessage

func (*ServiceListResp) ProtoMessage()

func (*ServiceListResp) Reset

func (m *ServiceListResp) Reset()

func (*ServiceListResp) Size

func (m *ServiceListResp) Size() (n int)

func (*ServiceListResp) String

func (m *ServiceListResp) String() string

func (*ServiceListResp) Unmarshal

func (m *ServiceListResp) Unmarshal(dAtA []byte) error

func (*ServiceListResp) XXX_DiscardUnknown

func (m *ServiceListResp) XXX_DiscardUnknown()

func (*ServiceListResp) XXX_Marshal

func (m *ServiceListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceListResp) XXX_Merge

func (dst *ServiceListResp) XXX_Merge(src proto.Message)

func (*ServiceListResp) XXX_Size

func (m *ServiceListResp) XXX_Size() int

func (*ServiceListResp) XXX_Unmarshal

func (m *ServiceListResp) XXX_Unmarshal(b []byte) error

type SetReq

type SetReq struct {
	TreeName             string   `protobuf:"bytes,1,opt,name=tree_name,json=treeName,proto3" json:"tree_name,omitempty" form:"tree_name" required`
	TreePath             string   `protobuf:"bytes,2,opt,name=tree_path,json=treePath,proto3" json:"tree_path,omitempty" form:"tree_path"`
	TreeId               int64    `protobuf:"varint,3,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty" form:"tree_id" required`
	Service              string   `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty" form:"service"`
	Keyword              string   `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword"`
	Template             int64    `protobuf:"varint,6,opt,name=template,proto3" json:"template,omitempty" form:"template"`
	Name                 string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" form:"name"`
	Value                string   `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty" form:"value"`
	Status               int64    `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty" form:"status"`
	Id                   int64    `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty" form:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetReq) Descriptor

func (*SetReq) Descriptor() ([]byte, []int)

func (*SetReq) GetId

func (m *SetReq) GetId() int64

func (*SetReq) GetKeyword

func (m *SetReq) GetKeyword() string

func (*SetReq) GetName

func (m *SetReq) GetName() string

func (*SetReq) GetService

func (m *SetReq) GetService() string

func (*SetReq) GetStatus

func (m *SetReq) GetStatus() int64

func (*SetReq) GetTemplate

func (m *SetReq) GetTemplate() int64

func (*SetReq) GetTreeId

func (m *SetReq) GetTreeId() int64

func (*SetReq) GetTreeName

func (m *SetReq) GetTreeName() string

func (*SetReq) GetTreePath

func (m *SetReq) GetTreePath() string

func (*SetReq) GetValue

func (m *SetReq) GetValue() string

func (*SetReq) Marshal

func (m *SetReq) Marshal() (dAtA []byte, err error)

func (*SetReq) MarshalTo

func (m *SetReq) MarshalTo(dAtA []byte) (int, error)

func (*SetReq) ProtoMessage

func (*SetReq) ProtoMessage()

func (*SetReq) Reset

func (m *SetReq) Reset()

func (*SetReq) Size

func (m *SetReq) Size() (n int)

func (*SetReq) String

func (m *SetReq) String() string

func (*SetReq) Unmarshal

func (m *SetReq) Unmarshal(dAtA []byte) error

func (*SetReq) XXX_DiscardUnknown

func (m *SetReq) XXX_DiscardUnknown()

func (*SetReq) XXX_Marshal

func (m *SetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetReq) XXX_Merge

func (dst *SetReq) XXX_Merge(src proto.Message)

func (*SetReq) XXX_Size

func (m *SetReq) XXX_Size() int

func (*SetReq) XXX_Unmarshal

func (m *SetReq) XXX_Unmarshal(b []byte) error

type SetResp

type SetResp struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetResp) Descriptor

func (*SetResp) Descriptor() ([]byte, []int)

func (*SetResp) GetId

func (m *SetResp) GetId() int64

func (*SetResp) Marshal

func (m *SetResp) Marshal() (dAtA []byte, err error)

func (*SetResp) MarshalTo

func (m *SetResp) MarshalTo(dAtA []byte) (int, error)

func (*SetResp) ProtoMessage

func (*SetResp) ProtoMessage()

func (*SetResp) Reset

func (m *SetResp) Reset()

func (*SetResp) Size

func (m *SetResp) Size() (n int)

func (*SetResp) String

func (m *SetResp) String() string

func (*SetResp) Unmarshal

func (m *SetResp) Unmarshal(dAtA []byte) error

func (*SetResp) XXX_DiscardUnknown

func (m *SetResp) XXX_DiscardUnknown()

func (*SetResp) XXX_Marshal

func (m *SetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetResp) XXX_Merge

func (dst *SetResp) XXX_Merge(src proto.Message)

func (*SetResp) XXX_Size

func (m *SetResp) XXX_Size() int

func (*SetResp) XXX_Unmarshal

func (m *SetResp) XXX_Unmarshal(b []byte) error

type Titans

type Titans interface {
	// 获取配置 请求参数逗号隔开的字符串 返回`internal:"true"`
	GetMultiConfigs(ctx context.Context, req *MultiConfigReq) (resp *MultiConfigResp, err error)

	// 获取服务级配置 `internal:"true"`
	GetServiceConfig(ctx context.Context, req *ServiceConfigReq) (resp *ServiceConfigResp, err error)

	// 插入服务配置 `method:"POST" internal:"true"`
	SetServiceConfig(ctx context.Context, req *SetReq) (resp *SetResp, err error)

	// 获取服务级配置 `internal:"true"`
	GetServiceConfigList(ctx context.Context, req *ServiceListReq) (resp *ServiceListResp, err error)

	// 获取已配置的discoveryId `internal:"true"`
	GetTreeIds(ctx context.Context, req *TreeIdsReq) (resp *TreeIdsResp, err error)

	// 获取运营数据列表 `internal:"true"`
	GetEasyList(ctx context.Context, req *EasyGetReq) (resp *EasyGetResp, err error)

	// 设置运营列表 `method:"POST" internal:"true"`
	SetEasyList(ctx context.Context, req *EasySetReq) (resp *EasySetResp, err error)
}

type TreeAppsReq

type TreeAppsReq struct {
	Node                 string   `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty" form:"node"`
	Team                 string   `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty" form:"team"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TreeAppsReq) Descriptor

func (*TreeAppsReq) Descriptor() ([]byte, []int)

func (*TreeAppsReq) GetNode

func (m *TreeAppsReq) GetNode() string

func (*TreeAppsReq) GetTeam

func (m *TreeAppsReq) GetTeam() string

func (*TreeAppsReq) Marshal

func (m *TreeAppsReq) Marshal() (dAtA []byte, err error)

func (*TreeAppsReq) MarshalTo

func (m *TreeAppsReq) MarshalTo(dAtA []byte) (int, error)

func (*TreeAppsReq) ProtoMessage

func (*TreeAppsReq) ProtoMessage()

func (*TreeAppsReq) Reset

func (m *TreeAppsReq) Reset()

func (*TreeAppsReq) Size

func (m *TreeAppsReq) Size() (n int)

func (*TreeAppsReq) String

func (m *TreeAppsReq) String() string

func (*TreeAppsReq) Unmarshal

func (m *TreeAppsReq) Unmarshal(dAtA []byte) error

func (*TreeAppsReq) XXX_DiscardUnknown

func (m *TreeAppsReq) XXX_DiscardUnknown()

func (*TreeAppsReq) XXX_Marshal

func (m *TreeAppsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TreeAppsReq) XXX_Merge

func (dst *TreeAppsReq) XXX_Merge(src proto.Message)

func (*TreeAppsReq) XXX_Size

func (m *TreeAppsReq) XXX_Size() int

func (*TreeAppsReq) XXX_Unmarshal

func (m *TreeAppsReq) XXX_Unmarshal(b []byte) error

type TreeAppsResp

type TreeAppsResp struct {
	List                 []*Node  `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TreeAppsResp) Descriptor

func (*TreeAppsResp) Descriptor() ([]byte, []int)

func (*TreeAppsResp) GetList

func (m *TreeAppsResp) GetList() []*Node

func (*TreeAppsResp) Marshal

func (m *TreeAppsResp) Marshal() (dAtA []byte, err error)

func (*TreeAppsResp) MarshalTo

func (m *TreeAppsResp) MarshalTo(dAtA []byte) (int, error)

func (*TreeAppsResp) ProtoMessage

func (*TreeAppsResp) ProtoMessage()

func (*TreeAppsResp) Reset

func (m *TreeAppsResp) Reset()

func (*TreeAppsResp) Size

func (m *TreeAppsResp) Size() (n int)

func (*TreeAppsResp) String

func (m *TreeAppsResp) String() string

func (*TreeAppsResp) Unmarshal

func (m *TreeAppsResp) Unmarshal(dAtA []byte) error

func (*TreeAppsResp) XXX_DiscardUnknown

func (m *TreeAppsResp) XXX_DiscardUnknown()

func (*TreeAppsResp) XXX_Marshal

func (m *TreeAppsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TreeAppsResp) XXX_Merge

func (dst *TreeAppsResp) XXX_Merge(src proto.Message)

func (*TreeAppsResp) XXX_Size

func (m *TreeAppsResp) XXX_Size() int

func (*TreeAppsResp) XXX_Unmarshal

func (m *TreeAppsResp) XXX_Unmarshal(b []byte) error

type TreeIdsReq

type TreeIdsReq struct {
	TreeName             string   `protobuf:"bytes,1,opt,name=tree_name,json=treeName,proto3" json:"tree_name,omitempty" form:"tree_name" required`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TreeIdsReq) Descriptor

func (*TreeIdsReq) Descriptor() ([]byte, []int)

func (*TreeIdsReq) GetTreeName

func (m *TreeIdsReq) GetTreeName() string

func (*TreeIdsReq) Marshal

func (m *TreeIdsReq) Marshal() (dAtA []byte, err error)

func (*TreeIdsReq) MarshalTo

func (m *TreeIdsReq) MarshalTo(dAtA []byte) (int, error)

func (*TreeIdsReq) ProtoMessage

func (*TreeIdsReq) ProtoMessage()

func (*TreeIdsReq) Reset

func (m *TreeIdsReq) Reset()

func (*TreeIdsReq) Size

func (m *TreeIdsReq) Size() (n int)

func (*TreeIdsReq) String

func (m *TreeIdsReq) String() string

func (*TreeIdsReq) Unmarshal

func (m *TreeIdsReq) Unmarshal(dAtA []byte) error

func (*TreeIdsReq) XXX_DiscardUnknown

func (m *TreeIdsReq) XXX_DiscardUnknown()

func (*TreeIdsReq) XXX_Marshal

func (m *TreeIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TreeIdsReq) XXX_Merge

func (dst *TreeIdsReq) XXX_Merge(src proto.Message)

func (*TreeIdsReq) XXX_Size

func (m *TreeIdsReq) XXX_Size() int

func (*TreeIdsReq) XXX_Unmarshal

func (m *TreeIdsReq) XXX_Unmarshal(b []byte) error

type TreeIdsResp

type TreeIdsResp struct {
	List                 []int64  `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TreeIdsResp) Descriptor

func (*TreeIdsResp) Descriptor() ([]byte, []int)

func (*TreeIdsResp) GetList

func (m *TreeIdsResp) GetList() []int64

func (*TreeIdsResp) Marshal

func (m *TreeIdsResp) Marshal() (dAtA []byte, err error)

func (*TreeIdsResp) MarshalTo

func (m *TreeIdsResp) MarshalTo(dAtA []byte) (int, error)

func (*TreeIdsResp) ProtoMessage

func (*TreeIdsResp) ProtoMessage()

func (*TreeIdsResp) Reset

func (m *TreeIdsResp) Reset()

func (*TreeIdsResp) Size

func (m *TreeIdsResp) Size() (n int)

func (*TreeIdsResp) String

func (m *TreeIdsResp) String() string

func (*TreeIdsResp) Unmarshal

func (m *TreeIdsResp) Unmarshal(dAtA []byte) error

func (*TreeIdsResp) XXX_DiscardUnknown

func (m *TreeIdsResp) XXX_DiscardUnknown()

func (*TreeIdsResp) XXX_Marshal

func (m *TreeIdsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TreeIdsResp) XXX_Merge

func (dst *TreeIdsResp) XXX_Merge(src proto.Message)

func (*TreeIdsResp) XXX_Size

func (m *TreeIdsResp) XXX_Size() int

func (*TreeIdsResp) XXX_Unmarshal

func (m *TreeIdsResp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL