Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUserNotLogin = errors.New("user is not login")
)
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config NoteUserModel model.NoteUserModel }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
func (ServiceContext) UserFilter ¶
func (s ServiceContext) UserFilter(ctx context.Context) (*UserInfo, error)
Click to show internal directories.
Click to hide internal directories.