From 15332779e382ec6b68d9b1cd5a80f247943d4480 Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Tue, 20 Feb 2024 11:26:34 +0100 Subject: [PATCH] Implement missing get tokens func --- internal/config/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/config/types.go b/internal/config/types.go index 58252d0..194d2cf 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -74,6 +74,10 @@ func (z *ZurgConfig) GetToken() string { return z.Token } +func (z *ZurgConfig) GetTokens() []string { + return z.Tokens +} + func (z *ZurgConfig) GetHost() string { if z.Host == "" { return "[::]"