Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService( repo Repository, key core.KeyService, entity core.EntityService, message core.MessageService, association core.AssociationService, profile core.ProfileService, timeline core.TimelineService, ack core.AckService, subscription core.SubscriptionService, semanticID core.SemanticIDService, config core.Config, repositoryPath string, ) core.StoreService
Types ¶
type CommitOption ¶
type CommitOption struct {
IsEphemeral bool `json:"isEphemeral,omitempty"`
}
type Handler ¶
type Handler interface { Commit(c echo.Context) error Get(c echo.Context) error Post(c echo.Context) error GetSyncStatus(c echo.Context) error PerformSync(c echo.Context) error }
func NewHandler ¶
func NewHandler(service core.StoreService) Handler
type Repository ¶
type Repository interface { Log(ctx context.Context, commit core.CommitLog) (core.CommitLog, error) SyncCommitFile(ctx context.Context, owner string) error SyncStatus(ctx context.Context, owner string) (core.SyncStatus, error) }
func NewRepository ¶
func NewRepository(db *gorm.DB, rdb *redis.Client) Repository
Click to show internal directories.
Click to hide internal directories.