internal: Remove unneeded methods

This commit is contained in:
Tom Wiesing 2023-03-03 10:58:00 +01:00
parent 4cdf29d8bf
commit 141d10746e
No known key found for this signature in database

View file

@ -74,9 +74,6 @@ type Upstream struct {
func (dis *Distillery) Control() *server.Server { func (dis *Distillery) Control() *server.Server {
return export[*server.Server](dis) return export[*server.Server](dis)
} }
func (dis *Distillery) Resolver() *resolver.Resolver {
return export[*resolver.Resolver](dis)
}
func (dis *Distillery) SQL() *sql.SQL { func (dis *Distillery) SQL() *sql.SQL {
return export[*sql.SQL](dis) return export[*sql.SQL](dis)
} }
@ -89,14 +86,9 @@ func (dis *Distillery) Auth() *auth.Auth {
func (dis *Distillery) Keys() *sshkeys.SSHKeys { func (dis *Distillery) Keys() *sshkeys.SSHKeys {
return export[*sshkeys.SSHKeys](dis) return export[*sshkeys.SSHKeys](dis)
} }
func (dis *Distillery) Cron() *cron.Cron { func (dis *Distillery) Cron() *cron.Cron {
return export[*cron.Cron](dis) return export[*cron.Cron](dis)
} }
func (dis *Distillery) Triplestore() *triplestore.Triplestore {
return export[*triplestore.Triplestore](dis)
}
func (dis *Distillery) Instances() *instances.Instances { func (dis *Distillery) Instances() *instances.Instances {
return export[*instances.Instances](dis) return export[*instances.Instances](dis)
} }