Documentation ¶
Index ¶
- func GetConn(ctx micro.Context, name string) (G.ClientConnInterface, error)
- func GetContext(c context.Context) micro.Context
- func NewGRPCContext(ctx micro.Context) context.Context
- func NewServer(p micro.Payload) *G.Server
- func NewUnaryServerInterceptor(p micro.Payload) G.UnaryServerInterceptor
- type GRPCService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnaryServerInterceptor ¶
func NewUnaryServerInterceptor(p micro.Payload) G.UnaryServerInterceptor
Types ¶
type GRPCService ¶
type GRPCService interface { micro.Service Conn() G.ClientConnInterface }
Click to show internal directories.
Click to hide internal directories.