mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-12-23 01:10:46 +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
|
|
}
|