sqlstore

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(host string, port int, user, password, dbname string) (*Store, error)

func (*Store) Token

func (s *Store) Token() store.TokenRepository

type TokenRepository

type TokenRepository struct {
	// contains filtered or unexported fields
}

TokenRepository is responsible for tokens.

func (*TokenRepository) FindByID

func (r *TokenRepository) FindByID(id string) (*model.Token, error)

FindByID returns full information about the auth method by uniqnue id.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL