mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-24 20:06:25 +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
|
||
|
}
|