You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/service/authenticate.go

13 lines
303 B
Go

package service
import (
"context"
"github.com/go-sonic/sonic/model/entity"
)
type AuthenticateService interface {
PostAuthenticate(ctx context.Context, post *entity.Post, password string) (bool, error)
CategoryAuthenticate(ctx context.Context, categoryID int32, password string) (bool, error)
}