Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllPerms = []auth.Permission{"public", "read", "write", "admin"} DefaultPerms = []auth.Permission{"public"} )
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ListenAddr ¶
ListenAddr returns the listen address of the server.
func (*Server) RegisterAuthedService ¶
RegisterAuthedService registers a service onto the RPC server. All methods on the service will then be exposed over the RPC.
func (*Server) RegisterService ¶
RegisterService registers a service onto the RPC server. All methods on the service will then be exposed over the RPC.
Click to show internal directories.
Click to hide internal directories.