Documentation ¶
Index ¶
- Variables
- type RPCHandler
- func (*RPCHandler) Descriptor() ([]byte, []int)
- func (m *RPCHandler) GetPath() string
- func (*RPCHandler) ProtoMessage()
- func (m *RPCHandler) Reset()
- func (m *RPCHandler) String() string
- func (m *RPCHandler) XXX_DiscardUnknown()
- func (m *RPCHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RPCHandler) XXX_Merge(src proto.Message)
- func (m *RPCHandler) XXX_Size() int
- func (m *RPCHandler) XXX_Unmarshal(b []byte) error
- type ServiceRouter
- func (*ServiceRouter) Descriptor() ([]byte, []int)
- func (m *ServiceRouter) GetName() string
- func (m *ServiceRouter) GetShortName() string
- func (*ServiceRouter) ProtoMessage()
- func (m *ServiceRouter) Reset()
- func (m *ServiceRouter) String() string
- func (m *ServiceRouter) XXX_DiscardUnknown()
- func (m *ServiceRouter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceRouter) XXX_Merge(src proto.Message)
- func (m *ServiceRouter) XXX_Size() int
- func (m *ServiceRouter) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Handler = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*RPCHandler)(nil), Field: 50000, Name: "handler", Tag: "bytes,50000,opt,name=handler", Filename: "github.com/lolibrary/lolibrary/cmd/protoc-gen-router/proto/router.proto", }
View Source
var E_Router = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*ServiceRouter)(nil), Field: 60000, Name: "router", Tag: "bytes,60000,opt,name=router", Filename: "github.com/lolibrary/lolibrary/cmd/protoc-gen-router/proto/router.proto", }
Functions ¶
This section is empty.
Types ¶
type RPCHandler ¶
type RPCHandler struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RPCHandler) Descriptor ¶
func (*RPCHandler) Descriptor() ([]byte, []int)
func (*RPCHandler) GetPath ¶
func (m *RPCHandler) GetPath() string
func (*RPCHandler) ProtoMessage ¶
func (*RPCHandler) ProtoMessage()
func (*RPCHandler) Reset ¶
func (m *RPCHandler) Reset()
func (*RPCHandler) String ¶
func (m *RPCHandler) String() string
func (*RPCHandler) XXX_DiscardUnknown ¶
func (m *RPCHandler) XXX_DiscardUnknown()
func (*RPCHandler) XXX_Marshal ¶
func (m *RPCHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RPCHandler) XXX_Merge ¶
func (m *RPCHandler) XXX_Merge(src proto.Message)
func (*RPCHandler) XXX_Size ¶
func (m *RPCHandler) XXX_Size() int
func (*RPCHandler) XXX_Unmarshal ¶
func (m *RPCHandler) XXX_Unmarshal(b []byte) error
type ServiceRouter ¶
type ServiceRouter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ShortName string `protobuf:"bytes,2,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceRouter) Descriptor ¶
func (*ServiceRouter) Descriptor() ([]byte, []int)
func (*ServiceRouter) GetName ¶
func (m *ServiceRouter) GetName() string
func (*ServiceRouter) GetShortName ¶
func (m *ServiceRouter) GetShortName() string
func (*ServiceRouter) ProtoMessage ¶
func (*ServiceRouter) ProtoMessage()
func (*ServiceRouter) Reset ¶
func (m *ServiceRouter) Reset()
func (*ServiceRouter) String ¶
func (m *ServiceRouter) String() string
func (*ServiceRouter) XXX_DiscardUnknown ¶
func (m *ServiceRouter) XXX_DiscardUnknown()
func (*ServiceRouter) XXX_Marshal ¶
func (m *ServiceRouter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceRouter) XXX_Merge ¶
func (m *ServiceRouter) XXX_Merge(src proto.Message)
func (*ServiceRouter) XXX_Size ¶
func (m *ServiceRouter) XXX_Size() int
func (*ServiceRouter) XXX_Unmarshal ¶
func (m *ServiceRouter) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.