mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-25 12:26:26 +00:00
11 lines
146 B
Go
11 lines
146 B
Go
package config
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Config interface {
|
|
Read() ([]byte, error)
|
|
Watch(ctx context.Context, updates chan<- []byte) error
|
|
}
|