MCPcopy
hub / github.com/fagongzi/manba / HTTPBackend

Method HTTPBackend

pkg/client/server.go:72–75  ·  view source on GitHub ↗

HTTPBackend set backend is http backend

()

Source from the content-addressed store, hash-verified

70
71// HTTPBackend set backend is http backend
72func (sb *ServerBuilder) HTTPBackend() *ServerBuilder {
73 sb.value.Protocol = metapb.HTTP
74 return sb
75}
76
77// MaxQPS set max qps
78func (sb *ServerBuilder) MaxQPS(max int64) *ServerBuilder {

Callers 1

createServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected