Documentation ¶
Index ¶
- type Server
- func (s *Server) Create(ctx context.Context, req *api.CreateRequest) (*ptypes.Empty, error)
- func (s *Server) Delete(ctx context.Context, req *api.DeleteRequest) (*ptypes.Empty, error)
- func (s *Server) Export(ctx context.Context, req *api.ExportRequest) (*api.ExportResponse, error)
- func (s *Server) GenerateProfile() (string, error)
- func (s *Server) List(ctx context.Context, req *api.ListRequest) (*api.ListResponse, error)
- func (s *Server) Lookup(ctx context.Context, req *api.LookupRequest) (*api.LookupResponse, error)
- func (s *Server) Register(server *grpc.Server) error
- func (s *Server) Start() error
- func (s *Server) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an Atlas server
func (*Server) Export ¶
func (s *Server) Export(ctx context.Context, req *api.ExportRequest) (*api.ExportResponse, error)
Export exports all nameserver records
func (*Server) GenerateProfile ¶
GenerateProfile generates a new Go profile
func (*Server) List ¶
func (s *Server) List(ctx context.Context, req *api.ListRequest) (*api.ListResponse, error)
List returns all records in the Atlas datastore
func (*Server) Lookup ¶
func (s *Server) Lookup(ctx context.Context, req *api.LookupRequest) (*api.LookupResponse, error)
Lookup performs a lookup request to the datastore
Click to show internal directories.
Click to hide internal directories.