MCPcopy
hub / github.com/0xERR0R/blocky / BlockingControl

Interface BlockingControl

api/api_interface_impl.go:36–40  ·  view source on GitHub ↗

BlockingControl interface to control the blocking status

Source from the content-addressed store, hash-verified

34
35// BlockingControl interface to control the blocking status
36type BlockingControl interface {
37 EnableBlocking(ctx context.Context)
38 DisableBlocking(ctx context.Context, duration time.Duration, disableGroups []string) error
39 BlockingStatus() BlockingStatus
40}
41
42// ListRefresher interface to control the list refresh
43type ListRefresher interface {

Callers 3

EnableBlockingMethod · 0.65
DisableBlockingMethod · 0.65
BlockingStatusMethod · 0.65

Implementers 8

BlockingResolverresolver/blocking_resolver.go
MockBlockingControlapi/mocks_test.go
Unimplementedapi/api_server.gen.go
ServerInterfaceWrapperapi/api_server.gen.go
strictHandlerapi/api_server.gen.go
OpenAPIInterfaceImplapi/api_interface_impl.go
Clientapi/api_client.gen.go

Calls

no outgoing calls

Tested by

no test coverage detected