Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowServer ¶
type PowServer struct { pb.UnimplementedPowServer // contains filtered or unexported fields }
func NewPowServer ¶
func NewPowServer(challenger challengeGenerator) *PowServer
func (*PowServer) Challenge ¶
func (s *PowServer) Challenge(_ context.Context, _ *pb.ChallengeRequest) (*pb.ChallengeResponse, error)
type WisdomServer ¶
type WisdomServer struct { pb.UnimplementedWisdomServer // contains filtered or unexported fields }
func NewWisdomServer ¶
func NewWisdomServer(challenger challengeVerifier) *WisdomServer
func (*WisdomServer) Get ¶
func (s *WisdomServer) Get(_ context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
Click to show internal directories.
Click to hide internal directories.