Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao interface { Close() Ping(ctx context.Context) (err error) GetInfo(ctx context.Context, mid int64) (r *api.Info, err error) GetProfile(ctx context.Context, mid int64) (r *api.Profile, err error) GetPassword(ctx context.Context, mid int64) (password string, err error) AddInfo(ctx context.Context, mid int64, name, password string) (err error) SetInfo(ctx context.Context, mid int64, field, value string) (err error) SetName(ctx context.Context, name string, mid int64) (err error) GetMidByName(ctx context.Context, name string) (mid int64, err error) }
Dao dao interface
Click to show internal directories.
Click to hide internal directories.