grpc/config/config.go

11 lines
146 B
Go
Raw Permalink Normal View History

package config
import (
"context"
)
type Config interface {
Read() ([]byte, error)
Watch(ctx context.Context, updates chan<- []byte) error
}