Documentation ¶
Index ¶
Constants ¶
View Source
const ( Net_Tcp = "tcp" Net_Addr = "%s:%d" )
Variables ¶
This section is empty.
Functions ¶
func OpenTracing ¶
func OpenTracing(open string)
func Register ¶
func Register(sv ServiceInterface)
func RegisterToCenter ¶
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func NewBase ¶
func NewBase(desc *grpc.ServiceDesc) *Base
func (*Base) Desc ¶
func (b *Base) Desc() *grpc.ServiceDesc
type ServiceInterface ¶
type ServiceInterface interface {
Desc() *grpc.ServiceDesc
}
Click to show internal directories.
Click to hide internal directories.