Documentation
¶
Index ¶
- func InitLogger()
- type Service
- func (s *Service) AsyncapiDeleteDoc(ctx context.Context, id string) error
- func (s *Service) AsyncapiGetDoc(ctx context.Context, id string) ([]byte, error)
- func (s *Service) AsyncapiGetDocs(ctx context.Context) ([]json.RawMessage, error)
- func (s *Service) AsyncapiListStorage(ctx context.Context) ([]lib_models.AsyncapiItem, error)
- func (s *Service) AsyncapiPutDoc(ctx context.Context, id string, data []byte) error
- type StorageHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger()
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(storageHdl StorageHandler) *Service
func (*Service) AsyncapiDeleteDoc ¶
func (*Service) AsyncapiGetDoc ¶
func (*Service) AsyncapiGetDocs ¶
func (*Service) AsyncapiListStorage ¶
func (s *Service) AsyncapiListStorage(ctx context.Context) ([]lib_models.AsyncapiItem, error)
Click to show internal directories.
Click to hide internal directories.