Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iface ¶
type Iface interface { CreateEmployeeAuth(ctx context.Context, ID string) (string, error) CheckAuth(ctx context.Context, ID string) error }
Iface - storage interface
type MyDB ¶
type MyDB interface { Set(ctx context.Context, key, value interface{}) error Get(key interface{}) (interface{}, error) Delete(key interface{}) error }
MyDB - my in memory database
Click to show internal directories.
Click to hide internal directories.