go-micro: github.com/micro/go-micro/sync/time/ntp Index | Files

package ntp

import "github.com/micro/go-micro/sync/time/ntp"

Package ntp provides ntp synchronized time

Index

Package Files

ntp.go

func NewTime Uses

func NewTime(opts ...time.Option) time.Time

NewTime returns ntp time

func WithServer Uses

func WithServer(s string) time.Option

WithServer sets the ntp server

Package ntp imports 4 packages (graph). Updated 2020-02-22. Refresh now. Tools for package owners.