Versions in this module Expand all Collapse all v4 v4.1.0 May 29, 2023 Changes in this version + type ApiClient struct + Host string + Key string + Port int + Protocol string + func NewApiClient(key, host, protocol string, port int) *ApiClient + func (a *ApiClient) Call(method, route string, requestBody io.Reader, useKey bool) (*http.Response, error) + func (a *ApiClient) GetMembre(membreID string) (models.Membre, error) + func (a *ApiClient) GetV4() (string, error) + type DataClient struct + DB sqlx.DB + PostgresConnection PostgresConnection + func NewDataClient(connection PostgresConnection) (*DataClient, error) + func (d *DataClient) GetMembre(membreID string) (models.Membre, error) + func (d *DataClient) InsertMembres(membres []models.Membre) (int64, error) + func (d *DataClient) InsertProgrammes(programmes []models.Programme) (int64, error) + func (d *DataClient) Seed() (int64, error) + func (d *DataClient) UpdateMembreName(membreID, newName string) (int64, error) + type PostgresConnection struct + Database string + Host string + Password string + Port int + SSL bool + User string v4.0.2 May 26, 2023 v4.0.1 May 26, 2023 Other modules containing this package git.agecem.com/agecem/bottin/v5 git.agecem.com/agecem/bottin/v6