mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-04 22:17:59 +08:00

All validation has been moved to the API resources layer, i.e. the domain objects provide validation method, but the service itself assumes no corrupted values are passed to it. Signed-off-by: Dejan Mijic <dejan@mainflux.com>
24 lines
499 B
Go
24 lines
499 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
|
|
|
|
package ipv6
|
|
|
|
type icmpv6Filter struct {
|
|
}
|
|
|
|
func (f *icmpv6Filter) accept(typ ICMPType) {
|
|
}
|
|
|
|
func (f *icmpv6Filter) block(typ ICMPType) {
|
|
}
|
|
|
|
func (f *icmpv6Filter) setAll(block bool) {
|
|
}
|
|
|
|
func (f *icmpv6Filter) willBlock(typ ICMPType) bool {
|
|
return false
|
|
}
|