Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + type SConfig struct + AAD string + Client *api.Client + Config map[string]interface{} + DHPath string + DHType string + Logger hclog.Logger + WrapTTL time.Duration + type SReader interface + Token func() string + type SServer struct + DoneCh chan struct{} + func NewSinkServer(conf *SServerConfig) *SServer + func (ss *SServer) Run(ctx context.Context, incoming chan string, sinks []*SConfig) + type SServerConfig struct + Client *api.Client + Context context.Context + ExitAfterAuth bool + Logger hclog.Logger + type Sink interface + WriteToken func(string) error