Documentation
¶
Index ¶
- func NewConsumer() *consumer
- func NewProducer() *producer
- type InFiles
- func (i *InFiles) Balance(ctx context.Context) (*entity.Balance, error)
- func (i *InFiles) BalanceAdd(context.Context, *entity.Balance) error
- func (i *InFiles) CardListGetUserID(ctx context.Context, u *entity.User) (*entity.CardList, error)
- func (i *InFiles) Delete(ctx context.Context, u *entity.User) error
- func (i *InFiles) Get(ctx context.Context, ind *entity.Prove) (*entity.Prove, error)
- func (i *InFiles) GetAdmin(*entity.User) bool
- func (i *InFiles) GetAll(ctx context.Context, u *entity.User) (*entity.User, error)
- func (i *InFiles) GetAllUrls() (entity.CountURLs, error)
- func (i *InFiles) GetAllUsers() (entity.CountUsers, error)
- func (i *InFiles) GetBalance(context.Context, *entity.SolutionData) (float64, error)
- func (i *InFiles) GetByID(context.Context, string) (*entity.Authentication, error)
- func (i *InFiles) GetByLogin(ctx context.Context, l string) (*entity.Authentication, error)
- func (i *InFiles) GetSolution(context.Context, *entity.SolutionData) error
- func (i *InFiles) GroupList(context.Context) (*entity.GroupList, error)
- func (i *InFiles) Post(ctx context.Context, ind *entity.Prove) error
- func (i *InFiles) Put(ctx context.Context, ind *entity.Prove) error
- func (i *InFiles) Read() error
- func (i *InFiles) Registry(ctx context.Context, a *entity.Authentication) error
- func (i *InFiles) Save() error
- func (i *InFiles) SaveCard(context.Context, *entity.Card) error
- func (i *InFiles) SaveGroup(ctx context.Context, c *entity.Group) error
- func (i *InFiles) SavePass(context.Context, *entity.Pass) error
- func (i *InFiles) SaveSolution(context.Context, *entity.Solution) error
- func (i *InFiles) SaveTask(ctx context.Context, c *entity.Task) error
- func (i *InFiles) SaveText(context.Context, *entity.Text) error
- func (i *InFiles) TaskKey(context.Context, *entity.User, *entity.Task) (*entity.Task, error)
- func (i *InFiles) TaskList(context.Context) (*entity.TaskList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InFiles ¶
type InFiles struct {
// contains filtered or unexported fields
}
InFiles -.
func (*InFiles) CardListGetUserID ¶
func (*InFiles) Delete ¶
Delete - удаляет URLы переданный в запросе, только если есть права данного пользователя
func (*InFiles) GetAllUrls ¶
GetAllUrls получить все URL
func (*InFiles) GetAllUsers ¶
func (i *InFiles) GetAllUsers() (entity.CountUsers, error)
GetAllUsers получить всех пользователей
func (*InFiles) GetBalance ¶
func (*InFiles) GetByLogin ¶
func (*InFiles) GetSolution ¶
func (*InFiles) SaveSolution ¶
Click to show internal directories.
Click to hide internal directories.