-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.go
More file actions
18 lines (16 loc) · 583 Bytes
/
config.go
File metadata and controls
18 lines (16 loc) · 583 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package siat
import "github.com/ron86i/go-siat/internal/core/ports"
// Config agrupa la configuración necesaria para realizar solicitudes autenticadas al SIAT.
// Es un alias a ports.Config y debe ser instanciada cuando se realicen llamadas a los servicios.
//
// Campos:
// - Token: Token de autenticación proporcionado por el SIAT (obligatorio)
// - UserAgent: Identificador del cliente HTTP (opcional, pero recomendado para registro)
//
// Ejemplo:
//
// cfg := siat.Config{
// Token: "tu_token_api",
// UserAgent: "MyApp/1.0 (Bolivia)",
// }
type Config = ports.Config