mirror of
https://github.com/cnotch/ipchub.git
synced 2025-09-26 19:41:18 +08:00
25 lines
517 B
Go
Executable File
25 lines
517 B
Go
Executable File
// Copyright (c) 2019,CAOHONGJU All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package route
|
|
|
|
type memProvider struct {
|
|
}
|
|
|
|
func (p *memProvider) Name() string {
|
|
return "memory"
|
|
}
|
|
|
|
func (p *memProvider) Configure(config map[string]interface{}) error {
|
|
return nil
|
|
}
|
|
|
|
func (p *memProvider) LoadAll() ([]*Route, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (p *memProvider) Flush(full []*Route, saves []*Route, removes []*Route) error {
|
|
return nil
|
|
}
|