MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Primary

Method Primary

light/client.go:856–860  ·  view source on GitHub ↗

Primary returns the primary provider. NOTE: provider may be not safe for concurrent access.

()

Source from the content-addressed store, hash-verified

854//
855// NOTE: provider may be not safe for concurrent access.
856func (c *Client) Primary() provider.Provider {
857 c.providerMutex.Lock()
858 defer c.providerMutex.Unlock()
859 return c.primary
860}
861
862// Witnesses returns the witness providers.
863//

Implementers 4

localClientabci/client/local_client.go
grpcClientabci/client/grpc_client.go
socketClientabci/client/socket_client.go
Clientabci/client/mocks/client.go

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65