Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrClosedConn occurs when the connection is closed ErrClosedConn = flaw.ErrorConstant("use of closed network connection") )
Variables ¶
View Source
var SetStatusCode = grpc.SetStatusCode
SetStatusCode sets the status code
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server represents a server
func (*Server) ListenAndServe ¶
ListenAndServe listens on the TCP network address srv.Addr and then calls Serve to handle requests on incoming connections. Accepted connections are configured to enable TCP keep-alives.
Click to show internal directories.
Click to hide internal directories.