✨
RPC服务框架
  • RPC服务框架
  • Dubbo
    • Dubbo简介
    • Dubbo技术原理
    • Dubbo配置使用
    • Dubbo控制台
    • 测验
  • gRPC
    • gRPC简介
    • gRPC配置及使用
    • grpc架构及原理
    • 测验
  • Protocol Buffers
    • Protocol Buffers简介
  • Thrift
    • Thrift简介
    • Thrift环境搭建
    • Thrift项目实现
    • Thrift架构及原理
    • Thrift类型系统
    • 待整理
    • 测验
  • spring cloud
    • Spring Cloud简介
Powered by GitBook
On this page
  • 主要内容
  • 基本类型(Base Type)
  • 特殊类型(Special type)
  • 容器(container)
  • 结构(struct)
  • 异常(Exception)
  • 服务(Service)
  • 其它语法参考
  • 枚举Enums
  • 注释Comments
  • 命名空间Namespace
  • Includes
  • 常量Constants

Was this helpful?

  1. Thrift

Thrift类型系统

参考 https://buildmedia.readthedocs.org/media/pdf/thrift-tutorial/latest/thrift-tutorial.pdf

Thrift类型系统包括预定义的基本类型(如bool , byte, double, string)、特殊类型(如binary)、用户自定义结构体(看上去像C 语言的结构体)、容器类型(如list,set,map)以及异常和服务定义~

主要内容

基本类型(Base Type)

特殊类型(Special type)

容器(container)

结构(struct)

异常(Exception)

服务(Service)

其它语法参考

枚举Enums

注释Comments

命名空间Namespace

Includes

常量Constants

PreviousThrift架构及原理Next待整理

Last updated 4 years ago

Was this helpful?