52 return s.client.Ping(context.Background()).Err()
53}
54
55func (s redis) GetMetadata() core.Metadata { 56 return meta
57}
58
108 return exists == 1, nil
109 }
110}
111func (r *redis) GetCustomAppRoutes() []*core.Route {112 return []*core.Route{}
113}
114
45 return nil
46}
47
48func (m *memory) GetMetadata() core.Metadata { 49 return meta
50}
51
49 return meta
50}
51
52func (m *memory) GetCustomAppRoutes() []*core.Route { 53 return []*core.Route{}
54}
55
34 return nil
35}
36
37func (u urls) GetMetadata() core.Metadata {38 return meta
39}
40
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}