Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SharServer ¶
type SharServer struct {
// contains filtered or unexported fields
}
SharServer provides API endpoints for SHAR
func New ¶
func New(ns *storage.Nats, panicRecovery bool, apiAuthZFn authz.APIFunc, apiAuthNFn authn.Check, telemetryCfg telemetry.Config) (*SharServer, error)
New creates a new instance of the SHAR API server
func (*SharServer) Listen ¶
func (s *SharServer) Listen() error
Listen starts the SHAR API server listening to incoming requests
func (*SharServer) Shutdown ¶
func (s *SharServer) Shutdown()
Shutdown gracefully shuts down the SHAR API server and Engine
Click to show internal directories.
Click to hide internal directories.