Documentation ¶ Index ¶ type Impl func New(client *api.ClientWithResponses, config *config.Config) (*Impl, error) func (i *Impl) GetCurrentUser(shortSession string) (*entity.User, error) func (i *Impl) ValidateShortSessionValue(shortSession string) (*entity.User, error) type Session Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Impl ¶ type Impl struct { // contains filtered or unexported fields } func New ¶ func New(client *api.ClientWithResponses, config *config.Config) (*Impl, error) New returns new user client func (*Impl) GetCurrentUser ¶ func (i *Impl) GetCurrentUser(shortSession string) (*entity.User, error) func (*Impl) ValidateShortSessionValue ¶ func (i *Impl) ValidateShortSessionValue(shortSession string) (*entity.User, error) type Session ¶ type Session interface { ValidateShortSessionValue(shortSession string) (*entity.User, error) GetCurrentUser(shortSession string) (*entity.User, error) } Source Files ¶ View all Source files session.go Click to show internal directories. Click to hide internal directories.