mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-12-22 17:00:45 +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
|
|
}
|