Documentation ¶
Overview ¶
Package server contains http and grpc server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcServer ¶
type GrpcServer struct {
// contains filtered or unexported fields
}
func NewGrpcServer ¶
func NewGrpcServer() (*GrpcServer, error)
func (*GrpcServer) GetLogger ¶
func (srv *GrpcServer) GetLogger() *dlog.Logger
func (*GrpcServer) LoggerIdentity ¶
func (srv *GrpcServer) LoggerIdentity(justCallMe func() dlog.Identity) dlog.Identity
func (*GrpcServer) SetLogger ¶
func (srv *GrpcServer) SetLogger(logger *dlog.Logger)
type HttpServer ¶
type HttpServer struct { }
func NewHttpServer ¶
func NewHttpServer() (*HttpServer, error)
func (*HttpServer) Handler ¶
func (srv *HttpServer) Handler() http.Handler
func (*HttpServer) RegisterHandler ¶
func (srv *HttpServer) RegisterHandler(mux *ihttp.JsonHandlerMux)
Click to show internal directories.
Click to hide internal directories.