Documentation ¶
Overview ¶
Package grpc wraps google.golang.org/grpc
Index ¶
- func Hostname() string
- func RemoteAddr(ctx context.Context) string
- func SplitHostPort(addr string) (string, int64)
- type Server
- func (srv *Server) GetLogger() *dlog.Logger
- func (srv *Server) LoggerIdentity(justCallMe func() dlog.Identity) dlog.Identity
- func (srv *Server) Run() error
- func (srv *Server) RunWithContext(ctx context.Context) error
- func (srv *Server) SetLogger(logger *dlog.Logger)
- func (srv *Server) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteAddr ¶
func SplitHostPort ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.