Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CheckDevice(context.Context, string, string, *usermetadb.DeviceInfo) (bool, error) AddLog(context.Context, string, *usermetadb.LogEntry) error GetUserDevices(context.Context, string, string) ([]*usermetadb.MetaDeviceInfo, error) GetUserLogs(context.Context, string, string, int, int) ([]*usermetadb.LogEntry, error) SetLastLogin(context.Context, string, *usermetadb.LastLoginEntry) error GetLastLogin(context.Context, string, string, string) ([]*usermetadb.LastLoginEntry, error) }
Client for the user-meta-server API.
func New ¶
func New(config *clientutil.BackendConfig) (Client, error)
New returns a new Client with the given Config.
Click to show internal directories.
Click to hide internal directories.