{"modulePath":"github.com/dyweb/go.ice","version":"v0.0.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package server\n\nPackage server contains http and grpc server\n\n## Types\n\n```go\ntype GrpcServer struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewGrpcServer() (*GrpcServer, error)\n```\n\n```go\nfunc (srv *GrpcServer) GetLogger() *dlog.Logger\n```\n\n```go\nfunc (srv *GrpcServer) LoggerIdentity(justCallMe func() dlog.Identity) dlog.Identity\n```\n\n```go\nfunc (srv *GrpcServer) Ping(ctx context.Context, ping *pb.Ping) (*pb.Pong, error)\n```\n\n```go\nfunc (srv *GrpcServer) SetLogger(logger *dlog.Logger)\n```\n\n```go\ntype HttpServer struct {\n}\n```\n\n```go\nfunc NewHttpServer() (*HttpServer, error)\n```\n\n```go\nfunc (srv *HttpServer) Handler() http.Handler\n```\n\n```go\nfunc (srv *HttpServer) NoPayload(ctx context.Context, _ interface{}) (*pb.Pong, error)\n```\n\n```go\nfunc (srv *HttpServer) Ping(ctx context.Context, ping *pb.Ping) (*pb.Pong, error)\n```\n\n```go\nfunc (srv *HttpServer) RegisterHandler(mux *ihttp.JsonHandlerMux)\n```\n\n","path":"github.com/dyweb/go.ice/example/github/pkg/server","name":"server","synopsis":"Package server contains http and grpc server","isRedistributable":true}
