mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 00:49:18 +08:00
d2ea21d0d8
* use certmagic for more extensible/robust ACME cert handling * accept TOS based on config option Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
11 lines
310 B
Go
Vendored
11 lines
310 B
Go
Vendored
// Copyright 2017 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.
|
|
|
|
package bpf
|
|
|
|
// A Setter is a type which can attach a compiled BPF filter to itself.
|
|
type Setter interface {
|
|
SetBPF(filter []RawInstruction) error
|
|
}
|