Documentation
¶
Index ¶
- func GetSubcodes(subcode string, r Record, code string, filter Subfields) (result []string)
- type Connection
- func (c Connection) GetInstitutes(ctx context.Context) (records RecordSet, err error)
- func (c Connection) GetPeople(ctx context.Context, query string) (records RecordSet, err error)
- func (c Connection) GetRecord(ctx context.Context, recordID int) (record Record, err error)
- func (c Connection) GetRecords(ctx context.Context, query string) (records RecordSet, err error)
- func (c Connection) Login(ctx context.Context, username, password, loginMethod string) error
- func (c Connection) Logout(ctx context.Context) error
- type Record
- type RecordSet
- type Subfields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(baseURL string, logger tbr_logging.Logger) Connection
func (Connection) GetInstitutes ¶
func (c Connection) GetInstitutes(ctx context.Context) (records RecordSet, err error)
func (Connection) GetPeople ¶
func (Connection) GetRecord ¶
func (Connection) GetRecords ¶
func (Connection) Login ¶
func (c Connection) Login(ctx context.Context, username, password, loginMethod string) error
func (Connection) Logout ¶
func (c Connection) Logout(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.