api_gateway

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Desktop

type Desktop struct {
	//
	//桌面名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//排序
	Order int32 `protobuf:"varint,2,opt,name=order,proto3" json:"order" form:"order"`
	//
	//桌面元素列表
	Items                []*Desktop_Items `protobuf:"bytes,3,rep,name=items,proto3" json:"items" form:"items"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

app展示视图

func (*Desktop) Descriptor

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

func (*Desktop) GetItems

func (m *Desktop) GetItems() []*Desktop_Items

func (*Desktop) GetName

func (m *Desktop) GetName() string

func (*Desktop) GetOrder

func (m *Desktop) GetOrder() int32

func (*Desktop) ProtoMessage

func (*Desktop) ProtoMessage()

func (*Desktop) Reset

func (m *Desktop) Reset()

func (*Desktop) String

func (m *Desktop) String() string

func (*Desktop) Validate

func (this *Desktop) Validate() error

func (*Desktop) XXX_DiscardUnknown

func (m *Desktop) XXX_DiscardUnknown()

func (*Desktop) XXX_Marshal

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

func (*Desktop) XXX_Merge

func (m *Desktop) XXX_Merge(src proto.Message)

func (*Desktop) XXX_Size

func (m *Desktop) XXX_Size() int

func (*Desktop) XXX_Unmarshal

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

type Desktop_Items

type Desktop_Items struct {
	//
	//元素类型
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type" form:"type"`
	//
	//小产品id或文件夹id
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id" form:"id"`
	//
	//dir名称(type为dir时有效)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
	//
	//元素位置
	Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position" form:"position"`
	//
	//小产品列表(type为dir时有效)
	Items                []*Desktop_Items_Items `protobuf:"bytes,5,rep,name=items,proto3" json:"items" form:"items"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Desktop_Items) Descriptor

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

func (*Desktop_Items) GetId

func (m *Desktop_Items) GetId() string

func (*Desktop_Items) GetItems

func (m *Desktop_Items) GetItems() []*Desktop_Items_Items

func (*Desktop_Items) GetName

func (m *Desktop_Items) GetName() string

func (*Desktop_Items) GetPosition

func (m *Desktop_Items) GetPosition() int32

func (*Desktop_Items) GetType

func (m *Desktop_Items) GetType() string

func (*Desktop_Items) ProtoMessage

func (*Desktop_Items) ProtoMessage()

func (*Desktop_Items) Reset

func (m *Desktop_Items) Reset()

func (*Desktop_Items) String

func (m *Desktop_Items) String() string

func (*Desktop_Items) Validate

func (this *Desktop_Items) Validate() error

func (*Desktop_Items) XXX_DiscardUnknown

func (m *Desktop_Items) XXX_DiscardUnknown()

func (*Desktop_Items) XXX_Marshal

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

func (*Desktop_Items) XXX_Merge

func (m *Desktop_Items) XXX_Merge(src proto.Message)

func (*Desktop_Items) XXX_Size

func (m *Desktop_Items) XXX_Size() int

func (*Desktop_Items) XXX_Unmarshal

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

type Desktop_Items_Items

type Desktop_Items_Items struct {
	//
	//元素类型
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type" form:"type"`
	//
	//小产品id
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id" form:"id"`
	//
	//元素位置
	Position             int32    `protobuf:"varint,3,opt,name=position,proto3" json:"position" form:"position"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Desktop_Items_Items) Descriptor

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

func (*Desktop_Items_Items) GetId

func (m *Desktop_Items_Items) GetId() string

func (*Desktop_Items_Items) GetPosition

func (m *Desktop_Items_Items) GetPosition() int32

func (*Desktop_Items_Items) GetType

func (m *Desktop_Items_Items) GetType() string

func (*Desktop_Items_Items) ProtoMessage

func (*Desktop_Items_Items) ProtoMessage()

func (*Desktop_Items_Items) Reset

func (m *Desktop_Items_Items) Reset()

func (*Desktop_Items_Items) String

func (m *Desktop_Items_Items) String() string

func (*Desktop_Items_Items) Validate

func (this *Desktop_Items_Items) Validate() error

func (*Desktop_Items_Items) XXX_DiscardUnknown

func (m *Desktop_Items_Items) XXX_DiscardUnknown()

func (*Desktop_Items_Items) XXX_Marshal

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

func (*Desktop_Items_Items) XXX_Merge

func (m *Desktop_Items_Items) XXX_Merge(src proto.Message)

func (*Desktop_Items_Items) XXX_Size

func (m *Desktop_Items_Items) XXX_Size() int

func (*Desktop_Items_Items) XXX_Unmarshal

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

type Settings

type Settings struct {
	//
	//特性开关
	FeatureFlags *types.Struct `protobuf:"bytes,1,opt,name=featureFlags,proto3" json:"featureFlags" form:"featureFlags"`
	//
	//首页地址
	Homepage string `protobuf:"bytes,2,opt,name=homepage,proto3" json:"homepage" form:"homepage"`
	//
	//品牌设置
	Brand *types.Struct `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand" form:"brand"`
	//
	//launchpad
	Launchpad            *Settings_Launchpad `protobuf:"bytes,4,opt,name=launchpad,proto3" json:"launchpad" form:"launchpad"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

初始化配置

func (*Settings) Descriptor

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

func (*Settings) GetBrand

func (m *Settings) GetBrand() *types.Struct

func (*Settings) GetFeatureFlags

func (m *Settings) GetFeatureFlags() *types.Struct

func (*Settings) GetHomepage

func (m *Settings) GetHomepage() string

func (*Settings) GetLaunchpad

func (m *Settings) GetLaunchpad() *Settings_Launchpad

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) Reset

func (m *Settings) Reset()

func (*Settings) String

func (m *Settings) String() string

func (*Settings) Validate

func (this *Settings) Validate() error

func (*Settings) XXX_DiscardUnknown

func (m *Settings) XXX_DiscardUnknown()

func (*Settings) XXX_Marshal

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

func (*Settings) XXX_Merge

func (m *Settings) XXX_Merge(src proto.Message)

func (*Settings) XXX_Size

func (m *Settings) XXX_Size() int

func (*Settings) XXX_Unmarshal

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

type Settings_Launchpad

type Settings_Launchpad struct {
	//
	//列数
	Columns int32 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns" form:"columns"`
	//
	//行数
	Rows                 int32    `protobuf:"varint,2,opt,name=rows,proto3" json:"rows" form:"rows"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Settings_Launchpad) Descriptor

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

func (*Settings_Launchpad) GetColumns

func (m *Settings_Launchpad) GetColumns() int32

func (*Settings_Launchpad) GetRows

func (m *Settings_Launchpad) GetRows() int32

func (*Settings_Launchpad) ProtoMessage

func (*Settings_Launchpad) ProtoMessage()

func (*Settings_Launchpad) Reset

func (m *Settings_Launchpad) Reset()

func (*Settings_Launchpad) String

func (m *Settings_Launchpad) String() string

func (*Settings_Launchpad) Validate

func (this *Settings_Launchpad) Validate() error

func (*Settings_Launchpad) XXX_DiscardUnknown

func (m *Settings_Launchpad) XXX_DiscardUnknown()

func (*Settings_Launchpad) XXX_Marshal

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

func (*Settings_Launchpad) XXX_Merge

func (m *Settings_Launchpad) XXX_Merge(src proto.Message)

func (*Settings_Launchpad) XXX_Size

func (m *Settings_Launchpad) XXX_Size() int

func (*Settings_Launchpad) XXX_Unmarshal

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

type StoryBoard

type StoryBoard struct {
	//
	//小产品基本信息
	App *micro_app.InstalledMicroAppBootstrap `protobuf:"bytes,1,opt,name=app,proto3" json:"app" form:"app"`
	//
	//dependsAll
	DependsAll bool `protobuf:"varint,2,opt,name=dependsAll,proto3" json:"dependsAll" form:"dependsAll"`
	//
	//路由配置
	Routes               []*types.Struct `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes" form:"routes"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

初始化配置

func (*StoryBoard) Descriptor

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

func (*StoryBoard) GetApp

func (*StoryBoard) GetDependsAll

func (m *StoryBoard) GetDependsAll() bool

func (*StoryBoard) GetRoutes

func (m *StoryBoard) GetRoutes() []*types.Struct

func (*StoryBoard) ProtoMessage

func (*StoryBoard) ProtoMessage()

func (*StoryBoard) Reset

func (m *StoryBoard) Reset()

func (*StoryBoard) String

func (m *StoryBoard) String() string

func (*StoryBoard) Validate

func (this *StoryBoard) Validate() error

func (*StoryBoard) XXX_DiscardUnknown

func (m *StoryBoard) XXX_DiscardUnknown()

func (*StoryBoard) XXX_Marshal

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

func (*StoryBoard) XXX_Merge

func (m *StoryBoard) XXX_Merge(src proto.Message)

func (*StoryBoard) XXX_Size

func (m *StoryBoard) XXX_Size() int

func (*StoryBoard) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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