Documentation
¶
Index ¶
- func CheckForUpdate()
- func FileServer(r chi.Router, path string, root http.FileSystem)
- type PushConn
- type Web
- func (s *Web) Addr() *net.TCPAddr
- func (s *Web) Auth(ctx context.Context, req *api_pb.AuthRequest) (*api_pb.AuthReply, error)
- func (s *Web) Close() error
- func (s *Web) Events(req *api_pb.EventsRequest, srv api_pb.APIService_EventsServer) error
- func (s *Web) Handler(next http.Handler) http.Handler
- func (s *Web) OnStart() error
- func (s *Web) OnStop()
- func (s *Web) Register(ctx context.Context, req *api_pb.RegisterRequest) (*api_pb.RegisterReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForUpdate ¶
func CheckForUpdate()
func FileServer ¶
func FileServer(r chi.Router, path string, root http.FileSystem)
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.
Types ¶
type Web ¶
type Web struct {
service.BaseService
*grpcweb.WrappedGrpcServer
Err error
// contains filtered or unexported fields
}
Provides HTTP web services
func (*Web) Events ¶
func (s *Web) Events(req *api_pb.EventsRequest, srv api_pb.APIService_EventsServer) error
func (*Web) Register ¶
func (s *Web) Register(ctx context.Context, req *api_pb.RegisterRequest) (*api_pb.RegisterReply, error)
Click to show internal directories.
Click to hide internal directories.